AutoLidarPerception / SqueezeSeg

Implementation of SqueezeSeg, convolutional neural networks for LiDAR point clout segmentation https://arxiv.org/abs/1710.07368
BSD 2-Clause "Simplified" License
23 stars 7 forks source link

Unknown command line flag 'sub_topic' #7

Closed sangych closed 6 years ago

sangych commented 6 years ago

Thanks for your share ! It caused an error when I run the online.sh, my command is : _./scripts/online.sh -sub_topic /velodynepoints ,the 'velodyne_points' was my pointcloud topic name error msg was shown below:

HOSTNAME
=======
ubuntu-16
Waiting for roscore ready...
Press any key to continue!
Traceback (most recent call last):
  File "./src/online.py", line 50, in <module>
    FLAGS=FLAGS)
  File "/home/sang/SqueezeSeg/src/nodes/segment_node.py", line 106, in __init__
    os.environ['CUDA_VISIBLE_DEVICES'] = FLAGS.gpu
  File "/home/sang/tfenv/local/lib/python2.7/site-packages/tensorflow/python/platform/flags.py", line 84, in __getattr__
    wrapped(_sys.argv)
  File "/home/sang/tfenv/local/lib/python2.7/site-packages/absl/flags/_flagvalues.py", line 632, in __call__
    name, value, suggestions=suggestions)
absl.flags._exceptions.UnrecognizedFlagError: Unknown command line flag 'sub_topic'
sangych commented 6 years ago

I added a line in online.py and the issue was solved. tf.app.flags.DEFINE_string('sub_topic', '/velodyne_points', """subcribed pointcloud topic.""")

MoonWolf9067 commented 5 years ago

@sangych Hi! Did you run the command online.sh successfully?When I run it, I have encountered the following problem. It stopps running and there is no result in rviz. I am looking forward to your reply. 5

Durant35 commented 5 years ago

@sangych Hope the updated version could solve your problem.