Open natgnah opened 3 years ago
Hi, when i run demo.py ,the error :Error in `python': double free or corruption (out): ?do you occur to the problem?
This repo is not tested for onnxruntime-gpu, so there may be some workloads to implement it but the code change maybe small. Sorry for that I have no time for this feature now. BTW, welcome for related PRs : )
TKS for your help. when I not use the onnx, python demo.py -f examples/inputs/emma.jpg Error in `python': munmap_chunk(): invalid pointer: 0x00007f7a39596ce0 ? would you like help me solve the error? TKS very much
On window platform, CPU usage will be above 80%. So I want to change onnxruntime to onnxruntime-gpu
But I have the following problems: Traceback (most recent call last): File "demo_webcam_smooth.py", line 124, in
main(args)
File "demo_webcam_smooth.py", line 29, in main
from FaceBoxes.FaceBoxes_ONNX import FaceBoxes_ONNX
File "d:\Python\3DDFA_V2-master\FaceBoxes\FaceBoxes_ONNX.py", line 16, in
import onnxruntime
File "D:\anaconda3\envs\Vtuber\lib\site-packages\onnxruntime__init__.py", line 13, in
from onnxruntime.capi._pybind_state import get_all_providers, get_available_providers, get_device, set_seed, \
ImportError: cannot import name 'get_all_providers' from 'onnxruntime.capi._pybind_state'
Can anyone point me in the direction of using onnxruntime-gpu?