Code Monkey home page Code Monkey logo

Comments (6)

robbiebarrat avatar robbiebarrat commented on June 22, 2024

Please post the command you ran and the location of your "landscape" folder...

Also - are you training a new model or are you trying to run the pre-trained model?

from art-dcgan.

robbiebarrat avatar robbiebarrat commented on June 22, 2024

Hey did you ever get the issue resolved (and if so- how)? Can I close this?

from art-dcgan.

kyeshmz avatar kyeshmz commented on June 22, 2024

DATA_ROOT=landscapes dataset=folder ndf=50 ngf=150 th main.lua

Landscapes folder is in the root folder of art-DCGAN.
Trying to use the pretrained networks.

from art-dcgan.

robbiebarrat avatar robbiebarrat commented on June 22, 2024

if you're trying to use pretrained networks - instead of passing ndf=50 and ngf=150, you need to pass
netD=path_to_discriminator_net.t7
netG=path_to_generator_net.t7

Also, your landscapes folder is titled "landscapes" and not "landscape"? Make sure the folder name is correct when specifying DATA_ROOT, because the error you're getting is related to loading the data.

from art-dcgan.

kyeshmz avatar kyeshmz commented on June 22, 2024

Hey, thanks for the advice. I decided to full path everything, but I get this error, landscapes file is created with the default scraping.

/home/rzmml/torch/install/bin/luajit: /home/rzmml/torch/install/share/lua/5.1/threads/threads.lua:183: [thread 2 callback] /home/rzmml/torch/install/share/lua/5.1/image/init.lua:235: Not a JPEG file: starts with 0x47 0x49

from art-dcgan.

robbiebarrat avatar robbiebarrat commented on June 22, 2024

Hm... Looks like the scraper couldn't finish downloading a few of the images...

If you're on linux, you can run find . -iname '*.jpg' -print0 | xargs -0 jpeginfo -c and delete all of the files it says there, but if you're on windows you'll have to just sort the images by file size and delete the ~10 smallest and ~10 largest images... The scraper usually messes up on those.

I'll commit something hopefully this weekend and add that into the scraper, but for now you'll have to do it manually :(

from art-dcgan.

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.