Git Product home page Git Product logo

Comments (7)

sgbaird avatar sgbaird commented on May 29, 2024

Not working on Colab lucidrains/denoising-diffusion-pytorch#33

from xtal2png.

sgbaird avatar sgbaird commented on May 29, 2024

Working on this as a script for now: https://github.com/sparks-baird/xtal2png/blob/main/notebooks/ddpm.py

Has been producing less favorable results #79 #80. The priority is to get bookends attached #12 so that hyperparameter optimization can take place on several models.

from xtal2png.

vinz97 avatar vinz97 commented on May 29, 2024

Hi, i'm working con Colab too. How can i print inception score (IS), FID score and NLL (Negative Log Likelihoods) during the training for comparing them to the values written in the article?

from xtal2png.

sgbaird avatar sgbaird commented on May 29, 2024

@vinz97 by the article do you mean the blog post? I'd suggest asking this as an issue on https://github.com/lucidrains/denoising-diffusion-pytorch. I briefly perused the code and previous issues and didn't find the answer. As a side note, for FID you might consider using https://github.com/GaParmar/clean-fid. For inception score, you might consider https://github.com/sbarratt/inception-score-pytorch, though they recommend against using it as a performance metric for generative models. For NLL,
learned_gaussian_diffusion.py#L119-L120 is probably relevant. Keep in mind that it saves checkpoint models, so you could also post-process, loading each model, and calculating this information as needed unless real-time visualization is critical for you.

You might also consider using imagen-pytorch in image-to-image mode.

from xtal2png.

sgbaird avatar sgbaird commented on May 29, 2024

@vinz97 btw I answered assuming you weren't asking about anything specific to xtal2png. If that wasn't the case, please let me know.

from xtal2png.

vinz97 avatar vinz97 commented on May 29, 2024

@sgbaird Yeah sorry for the confusing question, i was asking about the code https://github.com/lucidrains/denoising-diffusion-pytorch.
I'm using the code written in the README file of the repository (under the USAGE paragraph, the second one). My aim is to training the CIFAR10 dataset and trying to print the Inception score, FID and NLL for comparing them to the values written in this article.
But i can use only Colab, so the training is really slowly, especially for 700k steps

from xtal2png.

sgbaird avatar sgbaird commented on May 29, 2024

See https://github.com/sparks-baird/xtal2png/blob/main/scripts/denoising_diffusion_pytorch_example.py and https://github.com/sparks-baird/xtal2png/blob/main/scripts/denoising_diffusion_pytorch_pretrained_sample.py instead

from xtal2png.

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.