PaddlePaddle / PaddlePaddle/PaddleX
Fast RCNN:Expected 88 from C header, got 80 from PyObject
@cuicheng01 is already working on this.
Since Feb 26, 2024.
- Dominant language
- Python
- Stars
- 6.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
问题类型:模型训练
PaddleX版本
您使用的PaddleX版本 :1.3.11
问题描述
网上查的解决方案为:更换numpy到1.20.0+,但是paddlex支持1.19.3
请在这里描述您在使用过程中的问题,如模型训练出错,建议贴上模型训练代码,以便开发人员分析,并快速响应
Traceback (most recent call last):
File "C:/Users/beansprots/Desktop/paddlex/train.py", line 35, in
shuffle=True)
File "D:\Anaconda3\envs\my_paddlex\lib\site-packages\paddlex\cv\datasets\voc.py", line 62, in init
from pycocotools.coco import COCO
File "D:\Anaconda3\envs\my_paddlex\lib\site-packages\pycocotools\coco.py", line 56, in
from . import mask as maskUtils
File "D:\Anaconda3\envs\my_paddlex\lib\site-packages\pycocotools\mask.py", line 3, in
import pycocotools._mask as _mask
File "pycocotools_mask.pyx", line 1, in init pycocotools._mask
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.