Open Kimtona opened 3 months ago
邮件已收到,会尽快回复,祝安!
DiffusionCLIP.zip This file is my attempt to directly fine-tune your excellent work in a Colab environment. However, I'm facing a ValueError and having difficulty. As a second-year university student, I still have a lot to learn. Could you help me resolve the error so I can proceed? Thank you.
Hello, I am trying to fine-tune a pre-trained model on the AFHQ dataset for the dog_bear task using Colab. I have successfully saved the pre-trained model and set up the dataset.
data
└── afhq
├── LMDB_test
│ ├── data.mdb
│ └── lock.mdb
├── LMDB_train
│ ├── data.mdb
│ └── lock.mdb
└── LMDB_val
├── data.mdb
└── lock.mdb
└── raw_images
├── test
├── images
└── test
├── images
└── val
├── images
However, a value error occurs when I try to run the following cell. !python main.py --clip_finetune_eff \ --config afhq.yml \ --exp ./runs/test \ --edit_attr dog_bear \ --do_train 1 \ --do_test 1 \ --n_train_img 50 \ --n_test_img 10 \ --n_iter 5 \ --t_0 500 \ --n_inv_step 40 \ --n_train_step 6 \ --n_test_step 40 \ --lr_clip_finetune 8e-6 \ --id_loss_w 0 \ --l1_loss_w 1 INFO - main.py - 2024-06-13 17:40:33,558 - Using device: cuda
Could you help me?