You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i issued this command:
python detector.py --model coco --dataset ../data/ --round 0 --class_map taco_config/map_1.csv evaluate
got error as below traceback after index created in 150 images.
..............
Running COCO evaluation on 150 images.
Loading and preparing results...
DONE (t=0.02s)
creating index...
index created!
Traceback (most recent call last):
File "detector.py", line 373, in
evaluate_coco(model, dataset_test, taco, "segm", limit=0)
File "detector.py", line 187, in evaluate_coco
cocoEval = COCOeval(coco, coco_results, eval_type)
File "/home/farhat/.virtualenvs/taco/lib/python3.6/site-packages/pycocotools/cocoeval.py", line 76, in init
self.params = Params(iouType=iouType) # parameters
File "/home/farhat/.virtualenvs/taco/lib/python3.6/site-packages/pycocotools/cocoeval.py", line 527, in init
self.setDetParams()
File "/home/farhat/.virtualenvs/taco/lib/python3.6/site-packages/pycocotools/cocoeval.py", line 507, in setDetParams
self.iouThrs = np.linspace(.5, 0.95, np.round((0.95 - .5) / .05) + 1, endpoint=True)
File "<array_function internals>", line 6, in linspace
File "/home/farhat/.virtualenvs/taco/lib/python3.6/site-packages/numpy/core/function_base.py", line 113, in linspace
num = operator.index(num)
TypeError: 'numpy.float64' object cannot be interpreted as an integer
..............
any help is highly appreciated!
The text was updated successfully, but these errors were encountered:
When i issued this command:
python detector.py --model coco --dataset ../data/ --round 0 --class_map taco_config/map_1.csv evaluate
got error as below traceback after index created in 150 images.
..............
Running COCO evaluation on 150 images.
Loading and preparing results...
DONE (t=0.02s)
creating index...
index created!
Traceback (most recent call last):
File "detector.py", line 373, in
evaluate_coco(model, dataset_test, taco, "segm", limit=0)
File "detector.py", line 187, in evaluate_coco
cocoEval = COCOeval(coco, coco_results, eval_type)
File "/home/farhat/.virtualenvs/taco/lib/python3.6/site-packages/pycocotools/cocoeval.py", line 76, in init
self.params = Params(iouType=iouType) # parameters
File "/home/farhat/.virtualenvs/taco/lib/python3.6/site-packages/pycocotools/cocoeval.py", line 527, in init
self.setDetParams()
File "/home/farhat/.virtualenvs/taco/lib/python3.6/site-packages/pycocotools/cocoeval.py", line 507, in setDetParams
self.iouThrs = np.linspace(.5, 0.95, np.round((0.95 - .5) / .05) + 1, endpoint=True)
File "<array_function internals>", line 6, in linspace
File "/home/farhat/.virtualenvs/taco/lib/python3.6/site-packages/numpy/core/function_base.py", line 113, in linspace
num = operator.index(num)
TypeError: 'numpy.float64' object cannot be interpreted as an integer
..............
any help is highly appreciated!
The text was updated successfully, but these errors were encountered: