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
Error when run cyclegan.py #99
Comments
the args "--n_cpu" should be positive integer value. But you set it to 0. In cyclegan.py line 33: please check the default value of n_cpu. Make sure it's not zero. |
Thank you for prompt reply. But I did not edit the source code at all,and the n_cpu is just the default value. |
Please check the data dir is correct or not. |
You're not putting the dataset name at the end, try this
Or another reason might be, there's no data in the folder /data/monet2photo |
the reason for that is the localation of the dataset is wrong. you can open the file download_cyclegan_dataset.sh ,and you can see : Adapt to project expected directory heriarchymkdir -p "$TARGET_DIR/train" "$TARGET_DIR/test" just follow what it say,you can solve it |
when I run cyclegan.py,it always has this error:
ValueError: num_samples should be a positive integer value, but got num_samples=0
what's the matter with it?
The text was updated successfully, but these errors were encountered: