Open HangilY opened 1 year ago
Hey you. By a scalar you mean a continuous value within a certain range? That's an interesting question. One thing you could try is normalizing your scalar between 0 and 1 and learn an one dimensional embedding which you multiply the scalar with. Maybe even learning 2 embeddings and linearly interpolating between these two. Or you could think of discretizing your scalar and then learning an embedding for each discrete representation. All of these should be quite easy to implement in the current codebase. Does that help?
Thanks!
Thank you it helped me :D
Thanks Dome.
I have change the code and it's doing good so far.
I have to validate data after training but the training process is working now.
These are things that i have changed:
1) CustomDataset Loader 2) Image size 3) Embedding of Label. ( I have made a tensor dimension of t, "t = self.pos_encoding(t, self.time_dim)" and filled with a scalar label value
thanks
Thanks Dome.
I have change the code and it's doing good so far.
I have to validate data after training but the training process is working now.
These are things that i have changed:
- CustomDataset Loader
- Image size
- Embedding of Label. ( I have made a tensor dimension of t, "t = self.pos_encoding(t, self.time_dim)" and filled with a scalar label value
thanks
hi bro< could you pleses share it with me how you did this. i am facing this problem
although i change the prerequisits but still stuck here it would be initiative if you help out me
Hello,
I am PhD candidate at SNU.
Your repo helped me really good understanding DDPM.
And i want to change this code to train a image labeled by 1 scalar value.
Is there any respository or your comment that i can reference?
thank you very much.