(python39) D:\23101\yolov5-tf-android>python models/tf.py --weight weights/yolov5s.pt --cfg models/yolov5s.yaml --img 320 2023-05-24 11:06:59.896764: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library cudart64_110.dll Traceback (most recent call last): File "D:\23101\yolov5-tf-android\models\tf.py", line 19, in <module> from models.common import Conv, Bottleneck, SPP, DWConv, Focus, BottleneckCSP, Concat, autopad, C3 File ".\models\common.py", line 8, in <module> import pandas as pd File "E:\ProgramFile\Anaconda\anaconda3\envs\python39\lib\site-packages\pandas\__init__.py", line 22, in <module> from pandas.compat import is_numpy_dev as _is_numpy_dev # pyright: ignore # noqa:F401 File "E:\ProgramFile\Anaconda\anaconda3\envs\python39\lib\site-packages\pandas\compat\__init__.py", line 25, in <module> from pandas.compat.numpy import ( File "E:\ProgramFile\Anaconda\anaconda3\envs\python39\lib\site-packages\pandas\compat\numpy\__init__.py", line 24, in <module> raise ImportError( ImportError: this version of pandas is incompatible with numpy < 1.20.3 your numpy version is 1.19.5. Please upgrade numpy to >= 1.20.3 to use this pandas version
时间: 2023-07-21 07:04:35 浏览: 207
tensorflow-yolov4-tflite:YOLOv4,YOLOv4-tiny,YOLOv3,YOLOv3-tiny在Tensorflow 2.0,Android中实现。 转换YOLO v4 .weights张量流,张量和tflite
这个错误提示是因为你的 pandas 版本与 numpy 版本不兼容。你的 numpy 版本是 1.19.5,而要使用这个 pandas 版本,需要 numpy 版本大于等于 1.20.3。你需要升级 numpy 版本到 1.20.3 或更高版本。你可以使用以下命令来升级 numpy:
```
pip install numpy --upgrade
```
注意,你需要在你的 Python 虚拟环境下运行这个命令。升级完成后,再次运行你的代码。
阅读全文