Open mradwan80 opened 4 years ago
@charlesq34 @ericyi @suhaochina @rqi-nuro
have you found a solution I have the same issue
Mee too!
@charlesq34 @ericyi @suhaochina @rqi-nuro
It's possible that the memory needed for the PointNet++ architecture is larger than what you have. You can try to build the same thing on google collab and see if it works.
I have Ubuntu 19.10, python 2.7.17, tensorflow 1.14.0, and cuda 10.2. When I run train.py, I get a segmentation fault message:
Extra details:
The contents of the sh files I used to compiled the TF operators are:
tf_interpolate_compile.sh:
tf_sampling_compile.sh:
tf_grouping_compile.sh:
I also needed to do some changes to make the compilation work: 1-copied /usr/local/lib/python2.7/dist-packages/tensorflow/libtensorflow_framework.so.1 to /usr/local/lib/python2.7/dist-packages/tensorflow/libtensorflow_framework.so 2-ran
3- copied the files plyfile.py, plyfile.pyc, eulerangles.py, eulerangle.pyc from pointnet/utils to pointnet2/scannet.
4-changed default='model' in the next line in train.py to default='pointnet2_sem_seg', and copied the files pointnet2_sem_seg.py and pointnet2_sem_seg.pyc from pointnet2/models to pointnet2/scannet.
5- added sys.path.append(os.path.join(ROOT_DIR, 'models') in train.py, after sys.path.append(os.path.join(ROOT_DIR, 'utils'))
These steps helped getting the TF operators and train.py compiled, but then I get the error. Anyone has an idea why this happens?