Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

train #45

Open
OrangeZz0331 opened this issue Dec 29, 2023 · 3 comments
Open

train #45

OrangeZz0331 opened this issue Dec 29, 2023 · 3 comments

Comments

@OrangeZz0331
Copy link

When I was training, I encountered the following error:

pytorch_lightning.utilities.exceptions.MisconfigurationException: No test_step() method defined to

It seems like the training has been completed, but there is no way to test it.What should I do? DoI need to modify the code?
I also want to know if the training data and test data are the same during training? Run command only have --data_root.

Thank a lot!

@OrangeZz0331
Copy link
Author

This is a screenshot of the error message:
1703850002733

@Mofr77
Copy link

Mofr77 commented Mar 19, 2024

This is a screenshot of the error message: 1703850002733

你训练完成了对吗,你去inst.ipynb去测试,修改两个地方就行,我截个图给你,一个是风格检查点文件的路径,一个是风格图跟内容图的路径,都添加好之后再进行训练。
1

@Mofr77
Copy link

Mofr77 commented Mar 19, 2024

This is a screenshot of the error message: 1703850002733

这个模型是学习一张图片的风格,所以训练的时候只有一个路径,如果您想学习别的风格,您需要重新学习一个风格,就是重新训练网络,测试的时候就把内容图路径放在我刚才给您截图的图片路径里面,这是我的理解。ps:我是小白,有不对的请指正!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants