-
Notifications
You must be signed in to change notification settings - Fork 4
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
Code errors #4
Comments
Thank you for your attention. I modified the 145th line of manually To reduce the memory usage, we have created a classifier class like Encoder. Classifier class should be used in pre-training, and Encoder class is used in main-training. Thank you. |
oh.....you run the code twice. |
In pre-training, it is right. |
|
Hi, your data_loader.py have some bugs ,such as :
in pretrain() function, data_loader should be return 7 element, but ImageFolder() only return 5 elements. I think , in pretrain() function, the data_loader should be EncoderFolder() not ImageFolder(), please check your code.
In pretrain() function. self.E(src_img) should be return x_sout, x_cout, cls_style, cls_char, but your Encode() model return feature and None , so the bug at line 223 in solver.py. I think self.E should be Class ClassifierList not be Class EncoderList
The text was updated successfully, but these errors were encountered: