aimagelab/multimodal-garment-designer

File "F:\AI\multimodal-garment-designer-main\pipes\sketch_posemap_inpaint_pipe.py", line 519, in __call__ mask, masked_image = prepare_mask_and_masked_image(image, mask_image) TypeError: prepare_mask_and_masked_image() missing 2 required positional arguments: 'height' and 'width'

StartHua opened this issue · 3 comments

File "F:\AI\multimodal-garment-designer-main\pipes\sketch_posemap_inpaint_pipe.py", line 519, in call
mask, masked_image = prepare_mask_and_masked_image(image, mask_image)
TypeError: prepare_mask_and_masked_image() missing 2 required positional arguments: 'height' and 'width'

Hi @StartHua

Could you please provide more information about the command that you used when you got this error?

Alberto

hi , can you teach me me how to implement this in my local pc

I met the same problem:

python src/eval.py
--dataset vitonhd
--dataset_path viton-hd
--batch_size 2
--mixed_precision fp16
--output_dir output_vitonhd
--save_name output_vitonhd
--num_workers_test 0
--sketch_cond_rate 0.2
--start_cond_rate 0.0
--test_order paired