Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prompt-conditioning model instead of class-conditioning #70

Open
anarabiyev opened this issue Mar 5, 2024 · 6 comments
Open

Prompt-conditioning model instead of class-conditioning #70

anarabiyev opened this issue Mar 5, 2024 · 6 comments

Comments

@anarabiyev
Copy link

"We provide a training script for DiT in train.py. This script can be used to train class-conditional DiT models, but it can be easily modified to support other types of conditioning."

Does anyone have a clue about modifying the model to the prompt-conditioning model?

@wuzelei123
Copy link

Can you use self-trained data to generate images?

@anarabiyev
Copy link
Author

Can you use self-trained data to generate images?

I didn't understand what you meant. My purpose is to modify this model so that I can feed prompt as input instead of class labels.

@wuzelei123
Copy link

The error occurred when I used the weight file generated during the official code training in sample.py.
Like:
RuntimeError: CUDA error: device-side assert triggered
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.
What parameters did you modify during training?

@anarabiyev
Copy link
Author

I haven't modified any parameters yet, I am trying to analyze code and find a clue where to start.

@wuzelei123
Copy link

okok,thank you. I've just solved my problem.

@twinkleyang1
Copy link

@wuzelei123 Hello, I have the same problem, how did you solve it。The error occurred when I used the weight file generated during the official code training in sample.py.
Like:
RuntimeError: CUDA error: device-side assert triggered
Compile with to enable device-side assertions.
What parameters did you modify during training?TORCH_USE_CUDA_DSA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants