Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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' #17

Open
StartHua opened this issue Sep 17, 2023 · 3 comments

Comments

@StartHua
Copy link

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'

@ABaldrati
Copy link
Collaborator

Hi @StartHua

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

Alberto

@Prax2421
Copy link

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

@hw-liang
Copy link

hw-liang commented Nov 4, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants