Skip to content

Expected 88 from C header, got 80 from PyObject #3

@hahakid

Description

@hahakid

I installed the project follows the instructions and prepared the KITTI data only. Pre-trained weights are placed in related folders.
When I try test mode with the below script:
./scripts/test_eval_exp.sh kitti configs/KITTI/quasi_dla34_dcn_3dmatch_multibranch_conv_dep_dim_cen_clsrot_sep_aug_confidence_subtrain_mod_anchor_ratio_small_strides_GTA.py 0 1 --data_split_prefix subval_dla34_regress_GTA_VeloLSTM --add_ablation_exp all

but got the following error:

Traceback (most recent call last):
File "./tools/test_eval_video_exp.py", line 10, in
from qd3dt.datasets import build_dataloader, build_dataset
File "/home/kid/workspace/qd-3dt/qd3dt/datasets/init.py", line 1, in
from .custom import CustomDataset
File "/home/kid/workspace/qd-3dt/qd3dt/datasets/custom.py", line 12, in
from .extra_aug import ExtraAugmentation
File "/home/kid/workspace/qd-3dt/qd3dt/datasets/extra_aug.py", line 5, in
from qd3dt.core.evaluation.bbox_overlaps import bbox_overlaps
File "/home/kid/workspace/qd-3dt/qd3dt/core/init.py", line 3, in
from .evaluation import * # noqa: F401, F403
File "/home/kid/workspace/qd-3dt/qd3dt/core/evaluation/init.py", line 4, in
from .coco_utils import coco_eval, fast_eval_recall, results2json
File "/home/kid/workspace/qd-3dt/qd3dt/core/evaluation/coco_utils.py", line 3, in
from pycocotools.coco import COCO
File "/home/kid/anaconda3/envs/3dt/lib/python3.7/site-packages/pycocotools/coco.py", line 55, in
from . import mask as maskUtils
File "/home/kid/anaconda3/envs/3dt/lib/python3.7/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

My environment is ubuntu18, but I think it is not related to the system version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions