gyubeomim / voxelnet_ros

qianguih' voxelnet version with ROS Implementation code
51 stars 13 forks source link

The steps to run the project #3

Open zhashl opened 6 years ago

zhashl commented 6 years ago

hello, @tigerk0430 ! Thank to your implementation. I implemented the same function as you: subscribe the bag topic which is playing and display the detection result at the same time on Rviz. And I want to compare the detection result. But I'm not familiar with ROS. I don't know if my steps to run your project was true. My steps are as follows(My python environment is Python 3.6.5 |Anaconda): 1.clone this repository 2.move voxelnet_ros folder to my catkin_ws

  1. catkin_make
  2. cd voxelnet_ros-master/script/
  3. python3 voxelnet_ros.py as you said, error occurs. The error is:ModuleNotFoundError: No module named 'utils.box_overlaps'

Then I modified the python path in .bashrc and the environment became Python 2.7.15 |Anaconda. Then execute the command "python voxelnet_ros.py", I still got error: File "../voxelnet/utils/utils.py", line 522 cls, 0, 0, 0, box2d, box3d, float(score))) ^ SyntaxError: invalid syntax

Because the original project is written in python 3. So I'm confused about using python2 and python3 at the same time in one project. Can you tell me the detail steps to run the project? Thank you very much.

gyubeomim commented 5 years ago

@zhashi

sorry for the very late reply ;-(

I was caught by paper submission for several months and didn't have time to check git repository.

did you solve your problem? I think It's because you run python3 script using python2 binary.