mchong6 / JoJoGAN

Official PyTorch repo for JoJoGAN: One Shot Face Stylization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

save finetuned model

AK391 opened this issue · comments

are the finetuned models saved currently in the colab?

The fine-tuned models are not currently saved as they will disappear after the session. There probably is a way to save it directly to your GDrive. Is that something you want?

@mchong6 oh I actually meant in the colab notebook I could not find the location, let me check again

I did not save it in the colab notebook. To save it you can run

torch.save({"g": generator.state_dict()}, f"checkpoint.pt")

@mchong6 ok thanks