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

The program stops at "successfully loaded images" #47

Open
enlighten5 opened this issue Oct 3, 2016 · 7 comments
Open

The program stops at "successfully loaded images" #47

enlighten5 opened this issue Oct 3, 2016 · 7 comments

Comments

@enlighten5
Copy link

enlighten5 commented Oct 3, 2016

the program stops there and exits, could you please tell me what's wrong and how to fix it? THX!

@Interfish
Copy link

@enlighten5 I got same issue as you did. Do you fix it?

@kaushikpavani
Copy link

Were the models downloaded properly via "bash scripts/download_models.sh "? Having the appropriate model binaries in style-transfer/models solves this issue.

@Te-M
Copy link

Te-M commented Oct 15, 2016

Getting same problem, just built pycaffe for Win7 using Miniconda 2. Double checked the models locations.

@Te-M
Copy link

Te-M commented Oct 18, 2016

Update: I messed around with logging.info and it seems to stop at st = StyleTransfer(args.model.lower(), use_pbar=use_pbar). progressbar that was installed was the same as the requirement so no idea. Also, I tried building a different version of caffe (non-microsoft) just in case but eventually gave up after getting headaches from it refusing to recognize boost and gflags.

@mysayalHan
Copy link

Hello,guys! I am a chinese. So, I hope you can understand me. I just use command "python demo.py -s <style_image> -c <content_image>". If you want to change the model, you can update function styletransfer. These are the optional input like: googlenet、caffenet、vgg16、vgg19. You should download corresponding model into /models/...(like googlenet, you should download model into /models/googlenet). It works!

@Te-M
Copy link

Te-M commented Nov 30, 2016

I wish it did. demo.py also just seems to quit, probably pretty early after it starts. And once again I double checked everything, every file in every folder and every prerequisite. Hopefully on the Windows side someone eventually develops a better alternative.

@smitherson
Copy link

SOLVED: You have to download the models, the are not predownloaded.
bash scripts/download_models.sh <model_name>

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

6 participants