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

OSError #6

Open
mmosquera10 opened this issue Mar 3, 2018 · 1 comment
Open

OSError #6

mmosquera10 opened this issue Mar 3, 2018 · 1 comment

Comments

@mmosquera10
Copy link

Hello,

I have an issue running the code for Pytorch. I am trying to run the simple example:
cd cogan_pytorch/src;
python train_cogan_mnistedge.py --config ../exps/mnistedge_cogan.yaml;

However, I get the following output and error:
python train_cogan_mnistedge.py --config ../exps/mnistedge_cogan.yaml
self.scale=2.0
self.log='../outputs/mnistedge_cogan/mnistedge_cogan.log'
self.snapshot_prefix='../outputs/mnistedge_cogan/mnistedge_cogan'
self.max_iter=5000
self.batch_size=64
self.bias=0.5
self.latent_dims=100
self.snapshot_iter=500
self.display=10
<net_config.NetConfig object at 0x7fd9cd2def90>
Traceback (most recent call last):
File "train_cogan_mnistedge.py", line 95, in
main(sys.argv)
File "train_cogan_mnistedge.py", line 35, in main
os.remove(config.log)
OSError: [Errno 21] Is a directory: '../outputs/mnistedge_cogan/mnistedge_cogan.log'

Any help would be greatly appreciated! Thanks!

@Ellenisawake
Copy link

Just remove the line to run it...
Have you successfully finished training? Seems no luck for me to get it work. With all the original settings as provided in the code, the training just won't converge.

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