spytensor/prepare_detection_dataset

ValueError train_test_split函数没有train_target参数

githubPsearth opened this issue · 1 comments

您好,我运行了您的代码,可是出现了

ValueError: With n_samples=0, test_size=0.15 and train_size=None, the resulting train set will be empty. Adjust any of the aforementioned parameters.

错误,请问train_target该设成什么呢

你的输入为空,检查一下train_split函数的输入