Code Monkey home page Code Monkey logo

mlds2017's Issues

Some errors when running the code in hw3

I tried your code in hw3, and found some errors when running the project.

  1. It seems that the images are not transformed to 64x64 in the function 'get_image()' in utils.py. So I add image transform in the function ' get_image()'.

  2. In embed.py, tags containing 'hair' or 'eye' (i.e. 18175 images) are selected for training with the following code:
    tag_dict_in_use_1 = dict([(k,v) for k,v in tag_dict_in_use.items() if not v == ' and '])
    but I think it should be:
    tag_dict_in_use_1 = dict([(k,v) for k,v in tag_dict_in_use.items() if not v == ' '])
    Could you please check if my revision is correct?

  3. I tried the code with the above revision, but I found the discriminator and generator loss both increases rapidly when running the code with WGAN_v2 (i.e., the loss goes to 10000 when epoch>200). However, DCGAN and WGAN worked.
    I want to ask if there are any other different settings except the args when running the code with WGAN_v2?

  4. In your report, there are 3 cases with 18175 images, 11569 images and 33431 images, respectively. But I didn't find the tag processing code corresponding the 3 cases. Could you please tell how to process the images and tags, and run the code in case 2 and case 3?

Thank you very much!

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.