daniilidis-group / neural_renderer

A PyTorch port of the Neural 3D Mesh Renderer
Other
1.13k stars 252 forks source link

segment fault #57

Open OptimusPrimeCao opened 5 years ago

OptimusPrimeCao commented 5 years ago

Hi, my installed package are listed here. pip list Package Version


absl-py 0.7.1 astor 0.8.0 backcall 0.1.0 bleach 1.5.0 certifi 2019.3.9 chardet 3.0.4 chumpy 0.68 cycler 0.10.0 Cython 0.28.5 decorator 4.4.0 deepdish 0.3.6 Django 2.2.1 gast 0.2.2 grpcio 1.21.1 h5py 2.8.0 html5lib 0.9999999 idna 2.8 image 1.5.25 imageio 2.5.0 ipdb 0.12 ipython 7.5.0 ipython-genutils 0.2.0 jedi 0.13.3 kiwisolver 1.1.0 Markdown 3.1.1 matplotlib 2.2.2 memory-profiler 0.54.0 mkl-fft 1.0.12 mkl-random 1.0.2 mock 2.0.0 munkres 1.0.12 networkx 2.3 neural-renderer 1.1.3 nibabel 2.4.1 numexpr 2.6.9 numpy 1.14.5 opencv-contrib-python 3.4.2.16 opencv-python 3.4.2.16 pandas 0.24.2 parso 0.4.0 pbr 4.2.0 pexpect 4.7.0 pickleshare 0.7.5 Pillow 5.3.0 pip 19.1.1 prompt-toolkit 2.0.9 protobuf 3.7.1 psutil 5.4.7 ptyprocess 0.6.0 Pygments 2.4.2 pyparsing 2.4.0 python-dateutil 2.8.0 pytz 2019.1 PyWavelets 1.0.3 pyzmq 18.0.1 requests 2.22.0 scikit-image 0.15.0 scipy 1.1.0 setuptools 41.0.1 six 1.12.0 sqlparse 0.3.0 tables 3.5.1 tensorboard 1.8.0 tensorflow 1.8.0 termcolor 1.1.0 torch 0.4.0 torchfile 0.1.0 torchvision 0.2.2 tornado 6.0.2 tqdm 4.19.9 traitlets 4.3.2 urllib3 1.25.3 visdom 0.1.8.8 wcwidth 0.1.7 websocket-client 0.56.0 Werkzeug 0.15.4 wheel 0.33.4

When I run examples/example1.py, the programe got segment fault. How to solve this? Thank you! image

zhaoyang10 commented 5 years ago

I got the same 'Segmentaion fault' error without further information, too.

I'm using Pytorch 1.1.0, Python 3.6.

Can anyone help with it?

b7leung commented 5 years ago

I have the same issue as well.

YoungXIAO13 commented 5 years ago

I had this issue when I tested on Ubuntu 14.04 with PyTorch 0.4.1 and PyTorch 1.0.0 using CUDA 8.0. Then I tried on Ubuntu 16.04 with CUDA 9.0 and it passed all the test units with PyTorch 1.0.0 and PyTorch 0.4.1.

b7leung commented 5 years ago

I had this issue when I tested on Ubuntu 14.04 with PyTorch 0.4.1 and PyTorch 1.0.0 using CUDA 8.0. Then I tried on Ubuntu 16.06 with CUDA 9.0 and it passed all the test units with PyTorch 1.0.0 and PyTorch 0.4.1.

Thanks for your help! I got it to work on Ubuntu 16.04, python 2.7, pytorch 0.4.1, CUDA 9.2.

ShuangjunLiu commented 3 years ago

I got this problem and solved it by adding new compiler to the system. Segmentation error occurred when I was using gcc/4.8.5. Adding gcc/5.5.0 did the job.