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

Training Iteration #4

Open
ZYJ-JMF opened this issue Sep 13, 2021 · 3 comments
Open

Training Iteration #4

ZYJ-JMF opened this issue Sep 13, 2021 · 3 comments

Comments

@ZYJ-JMF
Copy link

ZYJ-JMF commented Sep 13, 2021

HI, thanks for your impressive work.
I am trying training your code from the begining, so I was wondering how many GPUS you used and how long will it spends for training?

I am looking forward to your response.Thanks

@williamyang1991
Copy link
Owner

I used one GPU with 8GB memory.
I don't remember the exact training time. I think it should take several days but within one week.
If you uses GPUs with more memory like 32GB, maybe you can use a large batchsize to speed up the training.

@Chanarin
Copy link

thanks so much for your amazing work!
I train your model with my own data but it takes so long time with my 6GB of GPU. Unfortunately, the electricity cut off. Can we resume training? I can't find any model file in the save directory. Please guide me on how to can I resume training.

@williamyang1991
Copy link
Owner

@Chanarin Unforunately, the code only save the final file after training. So it cannot be resumed.
You can modify train.py to add the save code during the training process so that it can be resumed if the electricity cut off.
https://github.com/williamyang1991/TET-GAN/blob/bdfca141fc14c5917fd9be8d2bc23870f9ad3288/src/train.py#L89C4-L89C58

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