deep-person-reid
deep-person-reid copied to clipboard
torchreid in colab
Sorry if the question is too naive, I'm new to ReID , i am trying to import torchreid in colab i have processed all the dependencies but i faced compatibility problem
Using /usr/local/lib/python3.7/site-packages Searching for pyasn1==0.4.8 Best match: pyasn1 0.4.8 Adding pyasn1 0.4.8 to easy-install.pth file
Using /usr/local/lib/python3.7/site-packages Searching for oauthlib==3.1.1 Best match: oauthlib 3.1.1 Adding oauthlib 3.1.1 to easy-install.pth file
Using /usr/local/lib/python3.7/site-packages Finished processing dependencies for torchreid==1.4.0
ValueError Traceback (most recent call last)
6 frames
/content/deep-person-reid/torchreid/metrics/rank_cylib/rank_cy.pyx in init torchreid.metrics.rank_cylib.rank_cy() ----> 1 # cython: boundscheck=False, wraparound=False, nonecheck=False, cdivision=True 2 3 from future import print_function 4 import numpy as np 5 from libc.stdint cimport int64_t, uint64_t
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject
hi @Sondosmohamed1 did u find any solution?.. thanks
hi @Sondosmohamed1 did u find any solution?.. thanks
Hi @lakshaydulani , i have partially fixed it , after i processed the dependencies i temporary set "from .rank import evaluate_rank "in torchreid/metrics/.inti..py as a comment ,and it works! but this solution could not be ideal if you want to train new data .