fzliu / style-transfer

An implementation of "A Neural Algorithm of Artistic Style" by L. Gatys, A. Ecker, and M. Bethge. http://arxiv.org/abs/1508.06576.
1.54k stars 387 forks source link

The program stops at "successfully loaded images" #47

Open enlighten5 opened 7 years ago

enlighten5 commented 7 years ago

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

Interfish commented 7 years ago

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

kaushikpavani commented 7 years ago

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 commented 7 years ago

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

Te-M commented 7 years ago

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 commented 7 years ago

Hello,guys! I am a chinese. So, I hope you can understand me. I just use command "python demo.py -s -c ". 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 commented 7 years ago

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 commented 6 years ago

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