hygenie1228 / ClothWild_RELEASE

[ECCV 2022] This repo is official PyTorch implementation of 3D Clothed Human Reconstruction in the Wild.
174 stars 13 forks source link

how to get the correct camera paramter #2

Closed ForrestPi closed 1 year ago

ForrestPi commented 1 year ago

Hi, I had tried using Pose2pose to get pose2pose_result.json(according to https://github.com/hygenie1228/ClothWild_RELEASE/issues/1) and got the reasonable result like render_original_img_body but when I tried (https://github.com/hygenie1228/ClothWild_RELEASE/blob/main/demo/demo.py)

ForrestPi commented 1 year ago

the result blew render_original_img

ForrestPi commented 1 year ago

maybe the camera paramter got woring. how to get the correct camera paramter? long trousers and short trousers got woring.

hygenie1228 commented 1 year ago

Thank you for your interest in our work.

There are a few things I want to check.

  1. Did you put the correct value in the bbox variable below? https://github.com/hygenie1228/ClothWild_RELEASE/blob/main/demo/demo.py#L65

  2. Is the demo image provided by the repository running properly?

If it still doesn't work after checking two, please give me a demo image. I'll check the code.

ForrestPi commented 1 year ago

@hygenie1228 yeah I used the value in the bbox by labelme. box="154, 67, 400, 914" data.zip

hygenie1228 commented 1 year ago

You should also change bbox variable at https://github.com/hygenie1228/ClothWild_RELEASE/blob/main/demo/demo.py#L65

It seems that the bbox variable is not modified given by default in the demo file.

I can observe the similar result when not changing the bbox variable as below.

image

But, when changing the bbox variable at (https://github.com/hygenie1228/ClothWild_RELEASE/blob/main/demo/demo.py#L65) with "bbox = [154, 67, 400, 914] ", I can get correct rendering result as below.

image

On the one hand, we can observe that the rendered surface is unusual in your example. I couldn't check the phenomenon, but it seems to be a dependency problem in pytorch3d.

Please check the dependency based on your pytorch/cuda version. Refer to below. https://github.com/facebookresearch/pytorch3d/blob/main/INSTALL.md

ForrestPi commented 1 year ago

@hygenie1228 thanks