InstPIFu icon indicating copy to clipboard operation
InstPIFu copied to clipboard

Questions about test of scene reconstruction

Open TLB-MISS opened this issue 2 years ago • 9 comments

Thank you for providing good work!

When inferring with 3D-FRONT data, results are only at the object level. As in the paper, how can I get the scene reconstruction result considering the spatial relationship between each object in the scene?

Additionally, I wonder why occ is needed. I think the occ serves as a template, so doesn't that eliminate the need for PIFu here?

TLB-MISS avatar Aug 12 '23 08:08 TLB-MISS

Hi, for the scene reconstruction results, you can put the results at the location that is predicted by the object reconstruction module. You can directly run the demo to obtain a scene reconstruction results. Can you specify more about 'why occ is needed'? The training of PIFu requires occ. Does it means that some other reconstruction method can be used instead of using PIFu based method?

HaolinLiu97 avatar Aug 14 '23 04:08 HaolinLiu97

@UncleMEDM Thank you for kind reply! Let me be more specific.

You can directly run the demo to obtain a scene reconstruction results.

Oh, Sorry for my misunderstanding.

Can you specify more about 'why occ is needed'? The training of PIFu requires occ.

Of course, PIFu train requires occ. I wondered why the test needed that data. The code below or demo will not run(error occurred) if the occ is not in place. python main.py --mode test --config ./configs/test_instPIFu.yaml

Thank you!

TLB-MISS avatar Aug 15 '23 06:08 TLB-MISS

Hi, the testing actually does not need the occ. But I reused the dataloader that is used during the training. I will add a flag in the dataloader so that it can disable loading occ.

HaolinLiu97 avatar Aug 15 '23 07:08 HaolinLiu97

Thank you!

I want to inference web image by using the InstPIFu trained on the 3D FRONT dataset. However, I'm not sure how InstPIFu can be applied for web images. When preprocessing a 3D FRONT dataset, it seems to assume that there is a file called "desc.json" by default. However, these files do not exist for web images.

Is there any way to inference InstPIFu from web RGB image?(If we need depth, we can assume we can get depth.)

TLB-MISS avatar Aug 15 '23 08:08 TLB-MISS

Hi, I will consider to add the function of testing arbitary images, but it may need several days to write the codes. I may update the codes in next week.

HaolinLiu97 avatar Aug 15 '23 08:08 HaolinLiu97

@UncleMEDM

I would really appreciate it if you could update the code! Thank you again for kindly accepting my suggestions.

TLB-MISS avatar Aug 15 '23 08:08 TLB-MISS

Hi! @UncleMEDM

Sorry, but could you tell me when the code will be updated?

TLB-MISS avatar Aug 30 '23 14:08 TLB-MISS

Hello @UncleMEDM, can you at least list the steps for testing arbitary images?

miiddb avatar Nov 21 '23 10:11 miiddb

Sorry for the late reply. Actually there are only a few things need to be done. First, run faster rcnn or some other advanced 2d object detection framework to generate some proposals with object class. Second, run the 3d detection model as I provided to obtain 3d bounding box for each 2d proposal. Third, run the object reconstruction.

HaolinLiu97 avatar Nov 23 '23 11:11 HaolinLiu97