-
Notifications
You must be signed in to change notification settings - Fork 69
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
数据集拆分成训练集和测试集 #4
Comments
import os trainval_percent = 0.8 num = len(total_xml) ftrainval = open('ImageSets/Main/trainval.txt', 'w') for i in list: ftrainval.close() |
这个拆分数据应该跟具体的数据有关,需要保证分布均衡吧,大佬在知乎上https://zhuanlan.zhihu.com/p/129842491 也介绍了挺多的,但是好像没有看到具体的样本划分。 |
有道理 顺便问一下大佬有没有跑通这个代码了 我刚刚接触mmdetection这个框架,不是很了解,想要向您咨询一下 |
请教一下大佬,这个数据集拆分成训练集和测试集有没有相关代码啊
The text was updated successfully, but these errors were encountered: