-
Notifications
You must be signed in to change notification settings - Fork 62
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
about the size of tgt_pose when inference #59
Comments
You can get the other sizes using this code: #27 (comment). You may also try resizing the existing pose files to your desired size (using Image.NEAREST in PIL library). Not sure though if it would work. |
Thanks for your reply! But the problem is when change the shape of tgt_tensor(the parameter of "get_tgt_tensor.py"), it seems weird. |
fixed one bug in the code. You can try it now. #27 (comment). |
Thanks for your answer,I'll adjust the code into my desired size then. Thanks again! |
Hello! Sorry to bother you again. I wonder know why you resize the image into (256,256) first when inference.? The generated image will undergo deformation or can you tell me which image size produces the best results? |
Because the model was trained with (256, 256)-resized images, the resizing does not have any effect on the final output. Also, at the end, you resize the output back to its original dimension. |
I sincerely appreciate your patient answer and wish you complete more outstanding work in the future! |
Hello! Your work is very impressive,but I wonder why the image and tgt_tensor are scaled to 256*256? And how I get other size of tgt_tensor like (256,512). Wish your reply!
The text was updated successfully, but these errors were encountered: