-
Notifications
You must be signed in to change notification settings - Fork 140
How to train the model withot using the regularized dataset #69
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
Comments
Hi, python -u train.py There would be similar changes for the multi-concept case as well. Let me know if this resolves your issue. |
Thank you for the help.
It worked.
I have just one more doubt when I am trying to convert the ckpt model file
into delta bin it is giving an error stating
I*mportError: cannot import name 'CLIPTextModelWithProjection' from
'transformers'.*
The version of the transformer is 4.19.2.
Sorry to bother you, but can you let me know what can be the solution?
Thank you
Regards
Aditi Palit
Ph.D. scholar
Computer Science and Engineering Department
IIT Tirupati
…On Fri, Jul 21, 2023 at 9:23 PM nupurkmr9 ***@***.***> wrote:
Hi,
You would also need to remove the reg_datapath and reg_caption related
arguments and adding repeat:100 to the data.params.train.params in the
config file. Thus the training command for a single concept would look like
this along with the changes in the finetune_addtoken.yaml config file:
python -u train.py
--base configs/custom-diffusion/finetune_addtoken.yaml
-t --gpus 0,1
--resume-from-checkpoint-custom <pretrained-model.ckpt>
--caption " cat"
--datapath <cat_sample_path>
--modifier_token ""
--name "cat-sdv4"
There would be similar changes for the multi-concept case as well. Let me
know if this removes your issue.
Thanks.
—
Reply to this email directly, view it on GitHub
<#69 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASR5NWBJY373NL5IMJRLC23XRKQXJANCNFSM6AAAAAA2RIWK7A>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Can you please let me know how to train the model without using the regularized dataset.
In train.py there is an argument --repeat, will only enabling that work.
Thank you.
The text was updated successfully, but these errors were encountered: