Skip to content

bugs when transfer the data #71

@cuge1995

Description

@cuge1995
TrashCan/dataset/material_version/instances_train_trashcan.json file 1 of 8
0_instances_train_trashcan
Traceback (most recent call last):
  File "annotations_preprocessing_multi.py", line 48, in <module>
    train, test = split_coco_dataset([data_file],
  File "detect-waste/utils/split_coco_dataset.py", line 122, in split_coco_dataset
    x, y = MultiStratifiedShuffleSplit(images, annotations, test_size)
  File "detect-waste/utils/split_coco_dataset.py", line 81, in MultiStratifiedShuffleSplit
    strat_split = MultilabelStratifiedShuffleSplit(n_splits=1,
  File "python3.8/site-packages/iterstrat/ml_stratifiers.py", line 322, in __init__
    super(MultilabelStratifiedShuffleSplit, self).__init__(
TypeError: __init__() takes from 1 to 2 positional arguments but 5 were given

Metadata

Metadata

Assignees

No one assigned

    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