Code Monkey home page Code Monkey logo

Comments (7)

Interfish avatar Interfish commented on July 21, 2024

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

from style-transfer.

kaushikpavani avatar kaushikpavani commented on July 21, 2024

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

from style-transfer.

Te-M avatar Te-M commented on July 21, 2024

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

from style-transfer.

Te-M avatar Te-M commented on July 21, 2024

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.

from style-transfer.

mysayalHan avatar mysayalHan commented on July 21, 2024

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!

from style-transfer.

Te-M avatar Te-M commented on July 21, 2024

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.

from style-transfer.

smitherson avatar smitherson commented on July 21, 2024

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

from style-transfer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.