Closed jasper0314 closed 1 year ago
Hey,
I think this is some issue with diffusers update. Could you check the following?
Hi @jasper0314 , we are looking into this issue. Will notify once we release the fix
Okay so we tried it from our end and these are the results for "garbage truck" erasure.
original model
edited Model
train-script
python train-scripts/train_erase.py --concepts 'Garbage Truck' --guided_concept ' ' --device '0' --concept_type 'object'
eval-script:
python eval-scripts/generate-images.py --model_name 'erased-garbage truck-towards_-preserve_false-sd_1_4-method_replace.pt' --prompts_path 'data/garbage_truck.csv' --save_path '/share/u/rohit/www/uce_test'
We use diffusers version 0.20.2 in our experiments. Could you please try again?
@jasper0314, I think it has something to do with the library version. We uploaded the requirements.txt to the repo now. Could you try installing the packages using pip install -r requirements.txt
and try again?
I am sure this would fix the issue. If it doesn't, please feel free to reopen the issue.
@rohitgandikota Sorry for the late reply. I follow those commands you provided and solve the problems. Thanks!
Hello,
Thank you for your outstanding work on this project. I've been attempting to reproduce the results of object erasing as described in your paper. However, I've encountered an issue where after erasing an object (e.g., "Garbage Truck"), the generated image turns into complete noise regardless of the input prompt.
I used the following commands for training and evaluation with your codebase:
Here is the content of my test.csv:
Could you please help me identify any misunderstandings in the reproduction steps? I appreciate your assistance in resolving this issue.
Thank you very much!