Giter VIP home page Giter VIP logo

Comments (5)

WindFall-wyx avatar WindFall-wyx commented on September 27, 2024

Hi, how to run the preprocess_datasets.py with dataset cifar? I find that the type of dataset in it is h5py. How did you prepare the dataset?

from few-shot-diffusion-models.

zjw511 avatar zjw511 commented on September 27, 2024

Hi, how to run the preprocess_datasets.py with dataset cifar? I find that the type of dataset in it is h5py. How did you prepare the dataset?

run this code to download cifar100,

from torchmeta.datasets import Omniglot, DoubleMNIST, TripleMNIST, CUB, FC100
dataset = FC100("./", meta_split='train', download=True)

This code will have an errror, but the h5py file arleady download, you ignore that and continue run preprocess_datasets.py

from few-shot-diffusion-models.

WindFall-wyx avatar WindFall-wyx commented on September 27, 2024

run this code to download cifar100,

from torchmeta.datasets import Omniglot, DoubleMNIST, TripleMNIST, CUB, FC100
dataset = FC100("./", meta_split='train', download=True)

This code will have an errror, but the h5py file arleady download, you ignore that and continue run preprocess_datasets.py

Thank you.
I met the same error about the shape of t_emb as you mentioned. It seems that there are some other mistakes in this code instead of running directly.

from few-shot-diffusion-models.

zjw511 avatar zjw511 commented on September 27, 2024

Maybe only unet or vit is correct. I fix vit-set code error and sample code error, and i get 46 FID on Vit-set LAC T, although paper is 40.71.
I won't take more tests,and there is no need to waste time to modify code errors.
If you need help about this, you can email me [email protected]

from few-shot-diffusion-models.

929343413 avatar 929343413 commented on September 27, 2024

Maybe only unet or vit is correct. I fix vit-set code error and sample code error, and i get 46 FID on Vit-set LAC T, although paper is 40.71. I won't take more tests,and there is no need to waste time to modify code errors. If you need help about this, you can email me [email protected]

Hello, can you tell me how to fix the vit-set code error and sample code error? I met the same problems now.
Thank you.

from few-shot-diffusion-models.

Related Issues (13)

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.