Gengzigang / PCT

This is an official implementation of our CVPR 2023 paper "Human Pose as Compositional Tokens" (https://arxiv.org/pdf/2303.11638.pdf)
MIT License
332 stars 21 forks source link

想看一看,环境弄了许久也没成功 #6

Open qiushanjun opened 1 year ago

qiushanjun commented 1 year ago

Traceback (most recent call last): File "./tools/train.py", line 15, in from mmpose.apis import train_model File "/root/miniconda3/lib/python3.8/site-packages/mmpose/apis/init.py", line 2, in from .inference import (collect_multi_frames, inference_bottom_up_pose_model, File "/root/miniconda3/lib/python3.8/site-packages/mmpose/apis/inference.py", line 17, in from mmpose.datasets.dataset_info import DatasetInfo File "/root/miniconda3/lib/python3.8/site-packages/mmpose/datasets/init.py", line 7, in from .datasets import ( # isort:skip File "/root/miniconda3/lib/python3.8/site-packages/mmpose/datasets/datasets/init.py", line 2, in from ...deprecated import (TopDownFreiHandDataset, TopDownOneHand10KDataset, File "/root/miniconda3/lib/python3.8/site-packages/mmpose/deprecated.py", line 5, in from .datasets.datasets.base import Kpt2dSviewRgbImgTopDownDataset File "/root/miniconda3/lib/python3.8/site-packages/mmpose/datasets/datasets/base/init.py", line 2, in from .kpt_2d_sview_rgb_img_bottom_up_dataset import \ File "/root/miniconda3/lib/python3.8/site-packages/mmpose/datasets/datasets/base/kpt_2d_sview_rgb_img_bottom_up_dataset.py", line 8, in from xtcocotools.coco import COCO File "/root/miniconda3/lib/python3.8/site-packages/xtcocotools/coco.py", line 58, in from . import mask as maskUtils File "/root/miniconda3/lib/python3.8/site-packages/xtcocotools/mask.py", line 3, in import xtcocotools._mask as _mask File "xtcocotools/_mask.pyx", line 1, in init xtcocotools._mask ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

Gengzigang commented 1 year ago

You can try "pip install numpy --upgrade".