Skip to content

Params instance has no attribute 'areaRngLbl' #27

@yustaub

Description

@yustaub

hello,sir. I folllowed the README to compile the project and download the pretrianed model, when I run command python test_net.py --s 2 --g 2 --a 4 --cuda, there are some errors when evaluating detection result:
Loading and preparing results...
DONE (t=2.12s)
creating index...
index created!
Running per image evaluation...
DONE (t=20.02s).
Accumulating evaluation results...
DONE (t=2.10s).
Traceback (most recent call last):
File "test_net.py", line 386, in
imdb_vu.evaluate_detections(all_boxes, output_dir_vu)
File "/home/joseph/project/One-Shot-Object-Detection/lib/datasets/coco.py", line 383, in evaluate_detections
self._do_detection_eval(res_file, output_dir)
File "/home/joseph/project/One-Shot-Object-Detection/lib/datasets/coco.py", line 323, in _do_detection_eval
cocoEval.summarize(class_index=tmp)
File "/home/joseph/project/One-Shot-Object-Detection/lib/datasets/coco.py", line 520, in summarize
self.stats = summarize()
File "/home/joseph/project/One-Shot-Object-Detection/lib/datasets/coco.py", line 486, in _summarizeDets
stats[0] = _summarize(1)
File "/home/joseph/project/One-Shot-Object-Detection/lib/datasets/coco.py", line 454, in _summarize
aind = [i for i, aRng in enumerate(p.areaRngLbl) if aRng == areaRng]
AttributeError: Params instance has no attribute 'areaRngLbl'
can you have any suggestion about this? Very appreciate for your reply!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions