Eljas Hyyrynen 6dd17516c8
dataloaders: fix class filtering for segmentation (#11171)
* dataloaders: fix class filtering for segmentation

self.segments[i] and segment[j] are lists so they cannot be indexed with booleans
self.segments is a tuple so it has to be converted into a list first

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-03-23 20:29:11 +01:00
..
2023-02-04 16:21:30 +04:00
2023-02-25 16:15:07 -08:00