ziliHarvey / smart-annotation-pointrcnn

A PointRCNN version of SAnE, which is a web-based semi-automatic annotation tool for point cloud data.
Apache License 2.0
12 stars 6 forks source link

Assertion error from frame_handler.py #12

Open RevathiTS opened 3 years ago

RevathiTS commented 3 years ago

Hi, I have git cloned (git clone --recursive https://github.com/ziliHarvey/smart-annotation-pointrcnn.git ) and build the files in Ubuntu 18 with python 3.6, Cuda 10.1 and pytorch==1.2.0 torchvision==0.4.0 . I have got the following assertion error from frame_handler.py upon opening the tool in http://0.0.0.0:7772/ . Can you check on this?

(smartannotation) teroot@Nuvo-5000-Perception:~/Uhnder_OGM/Annotator/smart-annotation-pointrcnn/app$ python app.py object_types_reverse {0: 'vehicle'}

giangdip2410 commented 3 years ago

I also have same error, please help us to fix this. Thank you

10.92.200.51 - - [16/Mar/2021 04:08:40] "POST /getFramePointCloud HTTP/1.1" 500 - Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2464, in call return self.wsgi_app(environ, start_response) File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2450, in wsgi_app response = self.handle_exception(e) File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1867, in handle_exception reraise(exc_type, exc_value, tb) File "/usr/local/lib/python3.6/dist-packages/flask/_compat.py", line 39, in reraise raise value File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2447, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1952, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1821, in handle_user_exception reraise(exc_type, exc_value, tb) File "/usr/local/lib/python3.6/dist-packages/flask/_compat.py", line 39, in reraise raise value File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1950, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1936, in dispatch_request return self.view_functionsrule.endpoint File "/root/GVH403/source/Docker/TEST/smart-annotation-pointrcnn-master/app/app.py", line 86, in getFramePointCloud data_str = fh.get_pointcloud(drivename, fname, dtype=str) File "/root/GVH403/source/Docker/TEST/smart-annotation-pointrcnn-master/app/frame_handler.py", line 68, in get_pointcloud assert isfile(seg_file) AssertionError

giangdip2410 commented 3 years ago

@RevathiTS : I have fixed my issue, my case is command line must be python3 not python.