aim-uofa / AdelaiDepth

This repo contains the projects: 'Virtual Normal', 'DiverseDepth', and '3D Scene Shape'. They aim to solve the monocular depth estimation, 3D scene reconstruction from single image problems.
Creative Commons Zero v1.0 Universal
1.06k stars 144 forks source link

Error occurred in LeReS #68

Closed ZackChenUuu closed 7 months ago

ZackChenUuu commented 1 year ago

image When I try to test 3D reconstruction from a single image by using "LeReS" code, the above error occurred. Could you offer some help please? If it is possible,may you explain the type of these two parameters('coords' and 'voxel_size'), are they numpy.ndarray or float or something else?And what are the meanings of these parameters? Thx a lot !!!

guangkaixu commented 1 year ago

@ZackChenUuu Hi, I can run python ./tools/test_shape.py --load-ckpt res50.pth --backbone resnet50 successfully, please check that you are using the latest code and the correct environment. If you fail to install torchsparse with pip install --upgrade git+https://github.com/mit-han-lab/torchsparse.git@v1.2.0, you can download the file of torchsparse1.2.0 from https://github.com/mit-han-lab/torchsparse/tags, and install it with python setup.py install.