CAMMA-public / ivtmetrics

A Python evaluation metrics package for surgical action triplet recognition

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question about the numpy version !?

shinpaul14 opened this issue · comments

mAP = ivtmetrics.Recognition(100)
When running this code I got the error like this.
AttributeError: module 'numpy' has no attribute 'float'. np.floatwas a deprecated alias for the builtinfloat. To avoid this error in existing code, use floatby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, usenp.float64 here. The aliases was originally deprecated in NumPy 1.20

which version of numpy is recommended?

@shinpaul14
Dependencies:
'numpy>=1.21',
scikit-learn>=1.0.2'
Python >=3.6 or <=3.9