czq142857 / IM-NET-pytorch

PyTorch 1.2 implementation of IM-NET.
Other
197 stars 27 forks source link

Question on Inference #12

Closed Ade-Pyaar closed 3 years ago

Ade-Pyaar commented 3 years ago

Hello @czq142857, Thanks for sharing the code.

I want to test the model using an external image. Please can you walk me through the procedure as I cannot see any way to pass an image to the model.

czq142857 commented 3 years ago

You can refer to any of the testing functions, such as test_mesh, and change batchview to your image. Please also output a few images stored in self.data_pixels to get a feel for what images are valid for the input.

Ade-Pyaar commented 3 years ago

Do you mean _batch_voxels__ ?

czq142857 commented 3 years ago

No. It should be batchview in modelSVR.py.