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

train process problem #6

Open
CS123n opened this issue Mar 26, 2024 · 1 comment
Open

train process problem #6

CS123n opened this issue Mar 26, 2024 · 1 comment

Comments

@CS123n
Copy link

CS123n commented Mar 26, 2024

Hi, I used your code to train SD+T5 on my own.
However, the results deteriorated rapidly after only 500 steps.
validation_500_d70a7c28fc6425ca27f8 (1)
Here's what the training loss looks like:
屏幕截图 2024-03-26 175456
Do you have any advice? I tried changing the learning rate to 1e-5, but it didn't solve the problem.

@ShihaoZhaoZSH
Copy link
Owner

Thank you for your interest in our LaVi-Bridge! We haven't encountered such a situation in our experiment, and the released training and inference code has undergone thorough testing to ensure its correctness. We suggest checking the following points: 1. Adjust the learning rate appropriately. 2. Train using full precision. 3. Double-check the inference process to ensure the correct loading of LoRA and proper input of (un)conditional text embeddings into the adapter.

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

2 participants