GAP-LAB-CUHK-SZ / Total3DUnderstanding

Implementation of CVPR'20 Oral: Total3DUnderstanding: Joint Layout, Object Pose and Mesh Reconstruction for Indoor Scenes from a Single Image
MIT License
419 stars 50 forks source link

build.pyd #10

Closed jiafr1802 closed 3 years ago

jiafr1802 commented 4 years ago

When running the command "python main.py configs/total3d.yaml --mode demo --demo_path demo/inputs/1" on Win10 platform, I got an Import Error. Judging by build.so file under the directory /Total3DUnderstanding/external/pyTorchChamferDistance/build, you might use unix system. But for windows, I guess I need the corresponding build.pyd file for running. Could you please offer this .pyd file?

yinyunie commented 4 years ago

Hi,

I did not find any build.pyd files. For the chamfer distance library, please refer to https://github.com/chrdiller/pyTorchChamferDistance

jiafr1802 commented 4 years ago

Before running the command "python main.py configs/total3d.yaml --mode demo --demo_path demo/inputs/1", the build.ninja file in /Total3DUnderstanding/external/pyTorchChamferDistance/build is like the figure below: build so

However, after running the command (on win10), the build.ninja turned to the figure below: pyd

In the last 2 lines, you can find the mention on build.pyd. I guess it means the pyd file is needed in windows platform just as the build.so file in linux platform. I think the build.pyd should be compiled from cpp source codes and it is necessary for building python module. Since there is no build.pyd file, could you please offer one?