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

如果最终想训练8通道的tif图像,而不是3通道的图像,是否可行呢? 如果可行,应该如何修改网络的 trunk 部分的第一层输入层的通道数? #555

Open
retioa11 opened this issue Jan 24, 2025 · 2 comments

Comments

@retioa11
Copy link

从配置文件 sam2.1_hiera_t.yaml 搜索到了 Hiera 类,感觉和这个类有关,但是第一层的通道数在哪里修改呢? 缺少相关的知识,可否指点一下? 非常感谢。

Image

另外,除了图像数据集读取,图像的变换,网络模型的第一层的输入张量的维度修改,还有其他需要修改的吗?

@kaankarakose
Copy link

What kind of images that you have?

@retioa11
Copy link
Author

retioa11 commented Feb 6, 2025

我是想做遥感影像的变化检测,输入是两张3通道的图像,加起来就是6通道。

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