tusen-ai / simpledet

A Simple and Versatile Framework for Object Detection and Instance Recognition
Apache License 2.0
3.09k stars 488 forks source link

Segmentation fault while verifying installation #304

Open nihuizhidao opened 4 years ago

nihuizhidao commented 4 years ago

After installation following introductions in README.md,when I run

python detection_infer_speed.py --config config/faster_r50v1_fpn_1x.py --shape 800 1333

I got segmentation fault:

[16:48:48] src/operator/nn/./cudnn/./cudnn_algoreg-inl.h:97: Running performance tests to find the best convolution algorithm, this can take a while... (set the environment variable MXNET_CUDNN_AUTOTUNE_DEFAULT to 0 to disable) 64.23973798751831

Segmentation fault: 11

Segmentation fault (core dumped)

I‘ve got the result

64.23973798751831

but then core dumped, was this normal or something went wrong?

I have 2 * GTX 1080Ti, each with 11G memory. According to the printed message, it wasn't an OOM, or it is? Any clue on this?

Thanks!

RogerChern commented 4 years ago

Which pip wheel did you use?

On Mon, Feb 10, 2020 at 4:56 PM nihuizhidao notifications@github.com wrote:

After installation following introductions in README.md,when I run

python detection_infer_speed.py --config config/faster_r50v1_fpn_1x.py --shape 800 1333

I got segmentation fault:

[16:48:48] src/operator/nn/./cudnn/./cudnn_algoreg-inl.h:97: Running performance tests to find the best convolution algorithm, this can take a while... (set the environment variable MXNET_CUDNN_AUTOTUNE_DEFAULT to 0 to disable) 64.23973798751831

Segmentation fault: 11

Segmentation fault (core dumped)

I have 2 * GTX 1080Ti, each with 11G memory. According to the printed message, it wasn't an OOM, or it is? Any clue on this?

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TuSimple/simpledet/issues/304?email_source=notifications&email_token=ABGODH22X5GXEP2UHAIS3ITRCEJFXA5CNFSM4KSKAIZ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IMFYGBA, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGODH655BBDZM2TTLOPTL3RCEJFXANCNFSM4KSKAIZQ .

nihuizhidao commented 4 years ago

I stick exactly to the instruction:

install dependency sudo apt update && sudo apt install -y git wget make python3-dev libglib2.0-0 libsm6 libxext6 libxrender-dev unzip

create conda env conda create -n simpledet python=3.7 conda activate simpledet

fetch CUDA environment

conda install cudatoolkit=10.1

install python dependency

pip install 'matplotlib<3.1' opencv-python pytz

download and intall pre-built wheel for CUDA 10.1

pip install https://1dv.alarge.space/mxnet_cu101-1.6.0b20191214-py2.py3-none-manylinux1_x86_64.whl

install pycocotools

pip install 'git+https://github.com/RogerChern/cocoapi.git#subdirectory=PythonAPI'

install mxnext, a wrapper around MXNet symbolic API

pip install 'git+https://github.com/RogerChern/mxnext#egg=mxnext'

get simpledet

git clone https://github.com/tusimple/simpledet cd simpledet make

shouwangzhe134 commented 4 years ago

I have the same problem. So I build MXNet==1.6.0 from scratch, and successfuly setup SimpleDet.

ghost commented 4 years ago

@RogerChern I meet errors--"Segmentation fault: 11 Segmentation fault (core dumped)" when verifying installation after following official install steps. Why did happen this?

yongjingli commented 4 years ago

@RogerChern I meet the same problems too, how to solve it?

yujmo commented 3 years ago

@RogerChern I meet the same problems too, how to solve it?

@shouwangzhe134 兄dei,你是咋解决的?