style-transfer icon indicating copy to clipboard operation
style-transfer copied to clipboard

The program stops at "successfully loaded images"

Open enlighten5 opened this issue 8 years ago • 7 comments

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

enlighten5 avatar Oct 03 '16 12:10 enlighten5

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

Interfish avatar Oct 12 '16 02:10 Interfish

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

kaushikpavani avatar Oct 14 '16 06:10 kaushikpavani

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

Te-M avatar Oct 15 '16 10:10 Te-M

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.

Te-M avatar Oct 18 '16 00:10 Te-M

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!

mysayalHan avatar Nov 28 '16 02:11 mysayalHan

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.

Te-M avatar Nov 30 '16 00:11 Te-M

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

smitherson avatar Sep 24 '17 11:09 smitherson