Open beidou456 opened 2 years ago
报Segmentation fault(core dumped)错误,是编译的问题么?
- 你把deviceId设置为1试试. 有可能自动的时候有些数据传到GPU 有的还在cpu上面.
- 如果你的电脑只有cpu, 那么seetaface本身编译的时候,要选择cpu编译.
首先,感谢你的回复。 我只有cpu,系统是Ubuntu20.04,我把源码全部重新编译了一下,ok了,应该是编译引起的。
报Segmentation fault(core dumped)错误,是编译的问题么?
- 你把deviceId设置为1试试. 有可能自动的时候有些数据传到GPU 有的还在cpu上面.
- 如果你的电脑只有cpu, 那么seetaface本身编译的时候,要选择cpu编译.
使用容器时,docker run -it --rm --gpus all 。。。。。。。 在build目录执行了cmake .. 和 make 设置了 echo /face/seetaface/lib > /etc/ld.so.conf.d/seetaface6.con 运行时,报了类似的错误,怎么解决?是编译问题?还是cuda版本不匹配的问题?拜托 root@bogon:/face# python seeta_test.py seetaDevice : SEETA_DEVICE_GPU deviceId=0 path:/face/seetaface/model 初始化人脸检测 初始化人脸5特征点检测 Segmentation fault (core dumped) root@bogon:/face# ldd seetaface/lib/libSeetaFaceAPI.so linux-vdso.so.1 (0x00007ffcaab4c000) libSeetaQualityAssessor300.so => /face/seetaface/lib/libSeetaQualityAssessor300.so (0x00007f3777537000) libSeetaFaceDetector600.so => /face/seetaface/lib/libSeetaFaceDetector600.so (0x00007f3777320000) libSeetaAgePredictor600.so => /face/seetaface/lib/libSeetaAgePredictor600.so (0x00007f37770f9000) libSeetaEyeStateDetector200.so => /face/seetaface/lib/libSeetaEyeStateDetector200.so (0x00007f3776ed0000) libSeetaFaceAntiSpoofingX600.so => /face/seetaface/lib/libSeetaFaceAntiSpoofingX600.so (0x00007f3776c98000) libSeetaFaceLandmarker600.so => /face/seetaface/lib/libSeetaFaceLandmarker600.so (0x00007f3776a6a000) libSeetaGenderPredictor600.so => /face/seetaface/lib/libSeetaGenderPredictor600.so (0x00007f3776841000) libSeetaMaskDetector200.so => /face/seetaface/lib/libSeetaMaskDetector200.so (0x00007f377661c000) libSeetaFaceRecognizer610.so => /face/seetaface/lib/libSeetaFaceRecognizer610.so (0x00007f37763d5000) libSeetaFaceTracking600.so => /face/seetaface/lib/libSeetaFaceTracking600.so (0x00007f37761a8000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f3775fd5000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f3775fbb000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f3775f97000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3775dc3000) libSeetaAuthorize.so => /face/seetaface/lib/libSeetaAuthorize.so (0x00007f3775b77000) libSeetaPoseEstimation600.so => /face/seetaface/lib/libSeetaPoseEstimation600.so (0x00007f3775951000) libtennis.so => /face/seetaface/lib/libtennis.so (0x00007f37730de000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3772f9a000) /lib64/ld-linux-x86-64.so.2 (0x00007f377777b000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f3772f8e000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3772f88000) libcublas.so.10 => /usr/local/cuda/targets/x86_64-linux/lib/libcublas.so.10 (0x00007f376ecd2000) libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007f376ec92000) libcublasLt.so.10 => /usr/local/cuda/targets/x86_64-linux/lib/libcublasLt.so.10 (0x00007f376cdfd000)
报Segmentation fault(core dumped)错误,是编译的问题么?