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

在SECOND数据集上训练MambaSCD出现的问题 #22

Closed
YonghuiTAN22 opened this issue May 4, 2024 · 3 comments
Closed

在SECOND数据集上训练MambaSCD出现的问题 #22

YonghuiTAN22 opened this issue May 4, 2024 · 3 comments

Comments

@YonghuiTAN22
Copy link

当进入imutils.py脚本中的random_crop_mcd时,似乎变化前和变化后的标签维度是(512, 512, 3),而在这个方法中将其维度视作(512, 512),这样就会导致维度对应不上,请问应该如何修改呢

@ChenHongruixuan
Copy link
Owner

Hi,

Many thanks for your interest to our work!

Please Refer to the Data Preparation section of the README file:

Note that the land-cover maps are RGB images in the original SECOND dataset for visualization, you need to transform them into single-channel. Also, the binary change maps should be generated by yourself and put them into folder [GT_CD].

Best,

@YonghuiTAN22
Copy link
Author

Thanks for your answer,

I have noticed the corresponding data preprocessing section in README.md and have successfully solved this problem.

Best regards

@ChenHongruixuan
Copy link
Owner

Great! Glad to hear that.

Best,

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