Closed AI-P-K closed 2 months ago
Due to the lack of clarity on what code modifications you have made, it is impossible to identify the source of the differences from the limited information available. I suggest directly using Gradio to deploy the app for testing. The purpose of Inference.py is to evaluate datasets and metrics, not for application development environments.
I did not do modifications to the code at all, i use exactly the repository provided. Using Gradio is not viable option for me.
If the code is unmodified, Inference.py
will not use the 1024 resolution model, even if specified through --width 768 --height 1024
. This could be the reason for the different results. You can specify the use of the 1024 model in the code by setting the version
parameter of CatVTONPipeline
to 'mix'
.
Once again you are correct... thank you for your help
I am trying to replicate the same performance i get from your online demo, by installing locally CatVTON repository.
Inference parameters: python inference.py --dataset 'vitonhd' --width 768 --height 1024
agnostik-mask -> SCHP to generate initial legs mask and + preprocess_agnostic_mask.py
cloth-mask -> SCHP to generate mask
image_parse-v3 -> CIHP_PGN
openpose_img and openpose_json -> Openpose dude2_keypoints.json
Original images
7 Local Output:
Can i kindly ask where the differences in output are coming from?