mileyan / pseudo_lidar

(CVPR 2019) Pseudo-LiDAR from Visual Depth Estimation: Bridging the Gap in 3D Object Detection for Autonomous Driving
https://mileyan.github.io/pseudo_lidar/
MIT License
967 stars 215 forks source link

Can you make your code work with Python 3? #36

Open sarimmehdi opened 4 years ago

sarimmehdi commented 4 years ago

Hi. To run your code and get the proper depth map we have to switch to Python 2 otherwise the depth map is completely incorrect. Can you make this compatible with Python 3? Thanks!

jarvis-huang commented 4 years ago

The official PSMNet was already ported to Python 3. So you should be able to compute disparity map already. What pseudo-lidar does is simply converting the disparity into depth map generate_lidar.py. I believe this code should already work in Python 2 or maybe with minimal modification. After all, it has very few lines of code.

Cli98 commented 3 years ago

The official PSMNet was already ported to Python 3. So you should be able to compute disparity map already. What pseudo-lidar does is simply converting the disparity into depth map generate_lidar.py. I believe this code should already work in Python 2 or maybe with minimal modification. After all, it has very few lines of code.

@jarvis-huang This is wrong sir. The code in this repo only support python2. They do update their code base but not reflected here.