-
Notifications
You must be signed in to change notification settings - Fork 8
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
Can't start the script for some odd reason. #4
Comments
@Testin1234 That's because on Windows 10, Python 3 is run with Change |
@ProGamerGov It seems that it worked, but I am facing another issue. Capturing style target 1 I'm not sure why it would do this. Do I need to re-specify the directory or something? |
Actually, that doesnt seem to be the problem. Is it just unable to make the images? |
Try creating a folder called |
Alright, did that and it still has the same error. Out of curiosity, I made a file in the output_dir called out_0000.png and it then had this issue: No such file or directory: 'output_dir/out_0001.png' |
@Testin1234 What are the neural-zoom specific parameters that you are using? |
python neural_zoom.py -script neural_style.py -style_image Color.jpg -content_image tubingen.jpg -model_file models/models/vgg19-d01eb7cb.pth -num_frames 20 -starting_image tubingen.jpg |
Are my params wrong or something? |
@Testin1234 Sorry, for the late response, so far I've found the slash direction to be a potential error source, but the error message still remains. Your parameters are not the cause, as I can reproduce the error. |
Good to know that the error can be reproduced and I'm not messing it up. Hopefully this can be resolved soon. |
Okay, so I moved a bit forward with this. I can make a PR but just want some insight on what you originally wanted to do. |
@kkshmz It's been a long time since I created the code (and I was a lot worse at programming back back), but I seem to recall the one directory was for un-cropped images, and the other one was for cropped versions of the image. There is probably a better way to go about things though. Feel free to submit a pull request! |
'python3' is not recognized as an internal or external command,
operable program or batch file.
Traceback (most recent call last):
File "neural_zoom.py", line 229, in
main()
File "neural_zoom.py", line 112, in main
first_run(run, params.output_image)
File "neural_zoom.py", line 146, in first_run
first_image = Image.open(params.output_dir + '/' + zeros(params.start_num, output))
File "C:\Apps\Anaconda\lib\site-packages\PIL\Image.py", line 2766, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'output_dir/out_0000.png'
Using windows 10 of course.
The text was updated successfully, but these errors were encountered: