Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugs when transfer the data #71

Open
cuge1995 opened this issue Apr 9, 2023 · 0 comments
Open

bugs when transfer the data #71

cuge1995 opened this issue Apr 9, 2023 · 0 comments

Comments

@cuge1995
Copy link

cuge1995 commented Apr 9, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant