Mean-Average-Precision-for-Boxes icon indicating copy to clipboard operation
Mean-Average-Precision-for-Boxes copied to clipboard

AttributeError: module 'numpy' has no attribute 'str'

Open KAKAROT12419 opened this issue 1 year ago • 2 comments
trafficstars

I think this error is fixed in repo but it is showing error whenever, i am calling map function in my code.

KAKAROT12419 avatar May 06 '24 16:05 KAKAROT12419

I think this error is fixed in repo but it is showing error whenever, i am calling map function in my code.

it does not work by pip

you can clone repo and use function:

!git clone https://github.com/ZFTurbo/Mean-Average-Precision-for-Boxes.git

import importlib
map_boxes = importlib.import_module("Mean-Average-Precision-for-Boxes.map_boxes.init") mean_average_precision_for_boxes = map_boxes.mean_average_precision_for_boxes

salih-ds avatar May 06 '24 17:05 salih-ds

If you use repo from pip - it doesn't have latest updates yet. I will add ASAP. Or you can install more older version of numpy.

ZFTurbo avatar May 06 '24 18:05 ZFTurbo

I added release 1.0.6 in pypi. Now install from pip must works ok.

ZFTurbo avatar May 28 '24 18:05 ZFTurbo