Code Monkey home page Code Monkey logo

Comments (4)

HelenMao avatar HelenMao commented on June 2, 2024

Hi, we use the original image for calculation and adopt the default setting of the LPIPS codes.
For NDB, we also use the default setting of codes provided by NDB's author.
What do the ImageBatchProvider and evaluation function mean?

from msgan.

korawat-tanwisuth avatar korawat-tanwisuth commented on June 2, 2024

Hi @HelenMao

Thank you for your prompt response. In issue #14, you mentioned that you use the eval code as the reference: https://github.com/eitanrich/gans-n-gmms/blob/b61d6abb69caa80d5aa84a72434784d6460ba10c/mfa_eval_celeba.py. I am referring to the imagebatchprovider function in that file. Basically, it has some hyperparameters that do some pre-processing to the image. Also, in the NDB function, it has some hyperparameter like whitening (normalizing the data). I am not quite sure what to set those too. Thank you again!

from msgan.

HelenMao avatar HelenMao commented on June 2, 2024

We only use the NDB function, i.e., Line 76 ndb.NDB(training_data=train_samples, number_of_bins=num_bins, whitening=True, cache_folder=args.ndb_dir) as reference.
I did not use the imagebatchprovider, and directly construct the generated images into the .npy file and load it for calculation.
Since the NDB codes have been modified many times by its authors, we used a very early version of the NDB codes in the CVPR version.
Other hyperparameters such as whitening=True are adopted using the default setting.

from msgan.

korawat-tanwisuth avatar korawat-tanwisuth commented on June 2, 2024

Thank you for clarifying!

from msgan.

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.