EditAnything
EditAnything copied to clipboard
How to use the trained model by myself?
I have trained the model using sam_train_sd21.py
,please tell me how to use the trained model for inference.
use this to transfer the weights to diffusers style: https://github.com/sail-sg/EditAnything/blob/main/tools/convert_controlnet_to_diffusers.py
when I used the convert model for test, run with editany_test.py
,I meet the problem
when I used the convert model for test, run with
editany_test.py
,I meet the problem
maybe only support for sd1.5?
The default training code is for sd2.1, you need to use sd2.1 base model for your trained controlnet. Or you can train a sd1.5 based version.
I changed the code of editany_test.py
, but the error is still appeared.
I changed the code of
editany_test.py
, but the error is still appeared.
Change extra_inpaint=False, for SD2.1, we use the SD-inpaint model, so no extra inpaint model is needed. The extra inpaint model is the controlnet model only suitable for SD1.5