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

How to train and achieve good results? #33

Open
drakirk8 opened this issue Jun 27, 2024 · 1 comment
Open

How to train and achieve good results? #33

drakirk8 opened this issue Jun 27, 2024 · 1 comment

Comments

@drakirk8
Copy link

drakirk8 commented Jun 27, 2024

Hello,

First of all, I‘m greatful for the training code you provided! Recently ,I tried to replicate the ootd-dc or ootd-hd on the data searched from shopping website. But whenever the dc or hd model , the loss curve fluctuates repeatedly around 0.02 and the results were getting worse.
f403873c-11e6-4ac8-99f1-1a2a0b03f193
after 4 epochs:
image

We trained the model form the ootd-dc checkpoint with
1.mixed_precision float32.
2.Resolution 1024*768
3.batch_size 8 on multi-gpu
4. epochs=4 for expirement
5. Additional 15000 paired data

We tried to use fp16 for faster and bigger batch_size, but the debugger report "Attempting to unscale FP16 gradient" at "optimizer.step()"

Besides , I wonder what the normal loss curve looks like. And How many epochs should we set for replication If the fluctuation around 0.02 is normal.

@zhangzhiyuan303
Copy link

mark to see detail

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