GithubHelp home page GithubHelp logo

Comments (3)

titu1994 avatar titu1994 commented on June 30, 2024

Not at all. Are you using a recent version of the script helper ?

I put an update in there to search for both python.exe and just python so that it would work in Linux as well with Mono.

Could you try the latest release from the release tab?

from neural-style-transfer.

crypdick avatar crypdick commented on June 30, 2024

I followed your directions but I think I found the error. I ran the script from Mono in terminal and got this:

Could not set X locale modifiers
"/home/richard/Apps/Neural-Style-Transfer/images/inputs/content/tubingen.jpg" "/home/richard/Apps/Neural-Style-Transfer/images/inputs/style/candy-style.jpg" "/home/richard/Apps/Neural-Style-Transfer/script_helper/test.jpg" --image_size 400 --content_weight 0.025 --style_weight 1.0 --total_variation_weight 8.5E-05 --style_scale 1 --num_iter 10 --rescale_image "False" --rescale_method "bicubic" --maintain_aspect_ratio "True" --content_layer "conv5_2" --init_image "content" --pool_type "max" --preserve_color "False" --min_improvement 0 --model "vgg16" --content_loss_type 0
/home/richard/Apps/anaconda2/bin/python2.7: can't open file 'Script/INetwork.py': [Errno 2] No such file or directory

It looks like maybe it's due to an issue with relative directories?

from neural-style-transfer.

titu1994 avatar titu1994 commented on June 30, 2024

The program should have a scripts directory with 4-5 python scripts.

Clicking on the compute button should start start the python exe at the location of the program, which then uses relative path to get to Scripts folder and then execute the appropriate script.

I haven't tested this with Linux much. Doesn't the executable .exe launch python at the path that the program is ?

I'll see if I can make the path absolute from current working directory in some time.

from neural-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.