zzh8829/yolov3-tf2

"Windows fatal exception: access violation" when run export_tflite.py

jharden13HOU opened this issue · 0 comments

When I try to run export_tflite.py, it cannot work and shows:

I0223 16:11:15.828265 8204 export_tflite.py:48] tflite model loaded
Windows fatal exception: access violation

Current thread 0x0000200c (most recent call first):
File "F:\Anaconda3\envs\TF2.6\lib\site-packages\tensorflow\lite\python\interpreter.py", line 875 in invoke
File "G:\python_project\AI\yolov3_test\export_tflite.py", line 63 in main
File "F:\Anaconda3\envs\TF2.6\lib\site-packages\absl\app.py", line 258 in _run_main
File "F:\Anaconda3\envs\TF2.6\lib\site-packages\absl\app.py", line 312 in run
File "G:\python_project\AI\yolov3_test\export_tflite.py", line 70 in

Process finished with exit code -1073741819 (0xC0000005)

I try to debug, and it seems that the problem lies in the code "interpreter.invoke()", but I don't know how to fix it. Please help me.