I noticed that in the migration from version 0.x to 1.x, the BaseSegDataset class (which is the new version of CustomDataset from 0.x) is missing the splitargument. The split argument is crucial for selecting files from a dataset according to the filenames specified in the file provided by this argument.
Hello !
I noticed that in the migration from version 0.x to 1.x, the
BaseSegDataset
class (which is the new version of CustomDataset from 0.x) is missing thesplit
argument. Thesplit
argument is crucial for selecting files from a dataset according to the filenames specified in the file provided by this argument.Moreover, the docstring of the
BaseSegDataset
class still mentions thesplit
argument, but it is not actually implemented or considered in the class. https://github.com/open-mmlab/mmsegmentation/blob/b040e147adfa027bbc071b624bedf0ae84dfc922/mmseg/datasets/basesegdataset.py#L13-L42Thanks !