Giter Club home page Giter Club logo

Comments (6)

Darkbblue avatar Darkbblue commented on May 16, 2024

Hey im trying to implement this by myself but i encounter a problem of understanding the paper. Here's a sentence from appendix: "To extract the intermediate U-Net features, we add a noise equivalent to the 100th timestep noise to the input image and evaluate the corresponding noisy latent using the forward diffusion process. " Does this mean i should simply compute the noisy latent z_t and send it into the unet model? (So the former and latter halves of the sentence seem to be describing the same thing?)

Or should i first add noisy to the original image, then encode it with VAE and treat the result as z_0, and finally add noise again to get z_t?

from diffusion-classifier.

develop-productivity avatar develop-productivity commented on May 16, 2024

I think: Firstly, the hidden variable is obtained through VAE encoding, and after a forward process, noise is added to 100 time step (z_t can be obtained at any time through z_0 noise), and then z_100 is denoised in one step to obtain the desired feature.
It is inevitable that something is wrong, looking forward to the original author's discussion!

from diffusion-classifier.

Darkbblue avatar Darkbblue commented on May 16, 2024

Hey ive implemented the code at https://github.com/Darkbblue/diffusion-feature. Though it can run on my server, i havent tested the extracted features on image classification tasks. Maybe you want to give it a try?

from diffusion-classifier.

develop-productivity avatar develop-productivity commented on May 16, 2024

Thanks. I'll take a look

from diffusion-classifier.

Yeez-lee avatar Yeez-lee commented on May 16, 2024

Thanks. I'll take a look

Hi, did you do the tests?

from diffusion-classifier.

develop-productivity avatar develop-productivity commented on May 16, 2024

Thanks. I'll take a look

Hi, did you do the tests?

No, I didn't do the tests, but I made some modification to fit my project.

from diffusion-classifier.

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.