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

When should training be stopped? #133

Open
YY-RR-ZZ opened this issue Aug 27, 2024 · 10 comments
Open

When should training be stopped? #133

YY-RR-ZZ opened this issue Aug 27, 2024 · 10 comments

Comments

@YY-RR-ZZ
Copy link

Hello,Thank you very much for your open-source work.
I have a question regarding the visualization of the loss generated while running train_sketch.py. Below is the visualization of the validation loss. The training reached 290,000 steps and epoch 7, but the loss does not show signs of convergence. I am unsure when the training should be considered complete.
Could you please provide some guidance on this?
loss

@Yonghao-Yu
Copy link

Where did you download the training data from?
data/LAION_6plus
data/WebDataset

@cuhkfz
Copy link

cuhkfz commented Sep 20, 2024

@YY-RR-ZZ
Hello, I encountered the same problem. Have you finished the training successfully?

1 similar comment
@cuhkfz
Copy link

cuhkfz commented Sep 20, 2024

@YY-RR-ZZ
Hello, I encountered the same problem. Have you finished the training successfully?

@Yonghao-Yu
Copy link

@YY-RR-ZZ Hello, I encountered the same problem. Have you finished the training successfully?

hi,how you get the train data?
data/LAION_6plus
data/WebDataset

@cuhkfz
Copy link

cuhkfz commented Sep 20, 2024

@Yonghao-Yu Hello yonghao, I use COCO dataset, the original T2I Adapter with sd v1-4 as backbone.

@Yonghao-Yu
Copy link

@Yonghao-Yu Hello yonghao, I use COCO dataset, the original T2I Adapter with sd v1-4 as backbone.

Yes, the paper mentions using the COCO17 dataset and using pidinet to extract edges. But I don’t know the details, such as the data format, etc. Did you make the dataset yourself? Is there a tutorial I can follow? Or where can I download the dataset so that I can use it directly? Thank you very much!

@cuhkfz
Copy link

cuhkfz commented Sep 20, 2024

@Yonghao-Yu Hello yonghao, I use COCO dataset, the original T2I Adapter with sd v1-4 as backbone.

Yes, the paper mentions using the COCO17 dataset and using pidinet to extract edges. But I don’t know the details, such as the data format, etc. Did you make the dataset yourself? Is there a tutorial I can follow? Or where can I download the dataset so that I can use it directly? Thank you very much!

Just download the required coco dataset, and run train_sketch.py. The only pre-process I did was create train_color/val_color.

@Yonghao-Yu
Copy link

@Yonghao-Yu Hello yonghao, I use COCO dataset, the original T2I Adapter with sd v1-4 as backbone.

Yes, the paper mentions using the COCO17 dataset and using pidinet to extract edges. But I don’t know the details, such as the data format, etc. Did you make the dataset yourself? Is there a tutorial I can follow? Or where can I download the dataset so that I can use it directly? Thank you very much!

Just download the required coco dataset, and run train_sketch.py. The only pre-process I did was creating train_color/val_color. But the training does not converge.

I see, I'll try again, thanks again.

@Windrain7
Copy link

Just download the required coco dataset, and run train_sketch.py. The only pre-process I did was create train_color/val_color.

Hello, could you tell me how to set the parameters of train_sketch.py?

@Junxix
Copy link

Junxix commented Jan 3, 2025

@Yonghao-Yu Hello yonghao, I use COCO dataset, the original T2I Adapter with sd v1-4 as backbone.

Yes, the paper mentions using the COCO17 dataset and using pidinet to extract edges. But I don’t know the details, such as the data format, etc. Did you make the dataset yourself? Is there a tutorial I can follow? Or where can I download the dataset so that I can use it directly? Thank you very much!

Just download the required coco dataset, and run train_sketch.py. The only pre-process I did was create train_color/val_color.

Hello, how can I set the configuration since dataset_laion.py only describes the laion's format?

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

5 participants