Closed kasim0226 closed 1 year ago
Hi, if you followed our readme instructions, you can sample using delta_epoch=000004.ckpt
according to the below command:
python sample.py --prompt "<new1> cat playing with a ball" --delta_ckpt logs/<folder-name>/checkpoints/delta_epoch\=000004.ckpt --ckpt <pretrained-model-path>
We save checkpoints every epoch of training.
To answer your second question, get_deltas.py
extracts and saves the subset of parameters that were fine-tuned instead of full model weights, thus reducing storage requirements to 75MB instead of the 4 GB original model.
I hope this clarifies your doubts. Thanks.
Thank you for the reply.
Thank you for your great work.
After I exucted finetune_real.sh and get_deltas.py, I got 4 different ckpt.