Skip to content

if one Adds the ImageSet out of order, the data manager doesnt have all the image sets #2

@twongjirad

Description

@twongjirad

If you do something like:

...
_alg_mgr.Add(img, meta, larocv::ImageSetID_t::kImageSetWire);
_alg_mgr.Add(img, meta, larocv::ImageSetID_t::kImageSetShower);
_alg_mgr.Add(img, meta, larocv::ImageSetID_t::kImageSetTrack);
...

This adds the image sets with IDs {0,2,1}. Running the algo chain, an algo complained that no SetID=2 was found. Adding in SetID=1 (tracks) probably cleared the images in SetID=2 (shower).

Not urgent at the moment, but might want to change this behavior at some point.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions