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

数据集问题 #10

Open
YYDS-cc opened this issue Sep 5, 2022 · 2 comments
Open

数据集问题 #10

YYDS-cc opened this issue Sep 5, 2022 · 2 comments

Comments

@YYDS-cc
Copy link

YYDS-cc commented Sep 5, 2022

感谢分享代码!有个关于数据集的问题想问一下。
刚刚接触建筑物提取,文中提到的INRIA数据集,请问用于实验的文件夹格式是什么样子的啊,我下载的数据集包含test和train两个文件夹,只在train文件夹里有gt文件夹,请问是将Cutimgsegwithlabel中的parent_path直接替换成上述我说的train文件夹的路径就可以了吗?如果按照这个路径来,得不到分割结果欸,麻烦大佬给解答下,万分感谢!

@KyanChen
Copy link
Owner

KyanChen commented Sep 5, 2022

您好,我们在论文中给出了相关说明“Since the authors did not release the label for the test set, we divide the original training set into a training set, a validation set, and a test set with the ratio of 6:2:2. When we train our model, we crop all training images to a set of 512×512 image slices with an overlap ratio of 0.9.”
需要先把train文件夹的图像按6:2:2分成a training set, a validation set, and a test set,然后再使用Cutimgsegwithlabel脚本切割成512的大小

@YYDS-cc
Copy link
Author

YYDS-cc commented Sep 5, 2022

哇,回复的真快!
明白你的意思了,感谢大佬!

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

2 participants