Zhongdao / UniTrack

[NeurIPS'21] Unified tracking framework with a single appearance model. It supports Single Object Tracking (SOT), Video Object Segmentation (VOS), Multi-Object Tracking (MOT), Multi-Object Tracking and Segmentation (MOTS), Pose Tracking, Video Instance Segmentation (VIS), and class-agnostic MOT (e.g. TAO dataset).
MIT License
334 stars 35 forks source link

specify the numpy version #47

Open juexZZ opened 11 months ago

juexZZ commented 11 months ago

Hi Zhongdao, can you specify the Numpy version compatible with all the other dependencies? It is not specified in the requirements. I am trying to run your code for my project but getting dependency errors with cython_bbox and pycocotools. They seem to be related to specific Numpy versions. Thanks!

juexZZ commented 11 months ago

To be more specific: for numy versions>=1.20 I got errors for cython_bbox(0.1.3):

File "src/cython_bbox.pyx", line 1, in init cython_bbox ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use 'numpy._import_array' to disable if you are certain you don't need it).

And for numpy==1.19.5 I got errors with pycocotools:

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