interactdiffusion
interactdiffusion copied to clipboard
Inference Error
When I use the command python inference_batch.py --batch_size 1 --folder generated_output --seed 489 --scheduled-sampling 1.0 --half
, unexpected error occurs:
RuntimeError: Error(s) in loading state_dict for FrozenCLIPEmbedder:
Unexpected key(s) in state_dict: "transformer.text_model.embeddings.position_ids".
It origins from the code: text_encoder = instantiate_from_config(config['text_encoder']).to(device).eval()
in inference.py
,
Incidentally, I used interact-diffusion-v1.pth
. Is there anything wrong in this checkpoint? Thank you.