Giter VIP home page Giter VIP logo

Comments (7)

wangqiang9 avatar wangqiang9 commented on May 26, 2024

For previous diffusion models with 1D data, such as spatio-temporal sequences and 1D vector graphs, I think you need to at least modify the channel of Unet.

from denoising-diffusion-pytorch.

animebing avatar animebing commented on May 26, 2024

spatial-temporal sequences should be 2D vectors instead of 1D vectors, and there is no time dimension or size dimension in the 1D vectors I am talking here

from denoising-diffusion-pytorch.

sxl324 avatar sxl324 commented on May 26, 2024

Hi, have you figured out a way to do 1-D vector training and generation?

from denoising-diffusion-pytorch.

fikry102 avatar fikry102 commented on May 26, 2024

Hi, have you figured out a way to do 1-D vector training and generation?

Is there any solution for this problem?
In my case , each data is a 240-dim vector, [x1,y1,x2,y2, ..., x_N,y_N]

from denoising-diffusion-pytorch.

lucidrains avatar lucidrains commented on May 26, 2024

it is here, in the readme https://github.com/lucidrains/denoising-diffusion-pytorch#1d-sequence

from denoising-diffusion-pytorch.

fikry102 avatar fikry102 commented on May 26, 2024

it is here, in the readme https://github.com/lucidrains/denoising-diffusion-pytorch#1d-sequence

However, I can't understand some number in the code.
training_seq = torch.rand(64, 32, 128)

model = Unet1D(
    dim = 64,
    dim_mults = (1, 2, 4, 8),
    channels = 32
)

I have 1w samples, each of which is a 240-dim vector, [x1,y1,x2,y2, ..., x_N,y_N].

I don't know how to modify the the channels of Unet1d (maybe set channels=1?) and have no idea about the specific meaning of "64, 32, 128" for training_seq.

from denoising-diffusion-pytorch.

lucidrains avatar lucidrains commented on May 26, 2024

@fikry102 i recommend joining a beginner machine learning community online

from denoising-diffusion-pytorch.

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.