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

中间层图像rgb通道只剩红色通道 #56

Open
WWJ0720 opened this issue Jul 30, 2023 · 8 comments
Open

中间层图像rgb通道只剩红色通道 #56

WWJ0720 opened this issue Jul 30, 2023 · 8 comments

Comments

@WWJ0720
Copy link

WWJ0720 commented Jul 30, 2023

你好,我想请问一下,CCM矩阵中出现负值是合理的吗,在进行apply_color这一步的时候输入的图像,为什么rgb通道会出现负值,而且大量负值出现在green和blue通道上,导致torch.clamp(image, 1e-8, 1.0)这一步使得负值变为1e-8,最后IAT输出图像的时候变为0,生成的图像为红色图像,请问能为我解答一下这个问题吗 @cuiziteng

@cuiziteng
Copy link
Owner

你是自己训练的这个模型出问题了吗,还是用的预训练权重出问题?

@WWJ0720
Copy link
Author

WWJ0720 commented Jul 31, 2023

是自己训练的模型

@cuiziteng
Copy link
Owner

是哪个数据集啊,low-level部分的吗

@WWJ0720
Copy link
Author

WWJ0720 commented Jul 31, 2023

是在IAT_high里面

@WWJ0720
Copy link
Author

WWJ0720 commented Jul 31, 2023

数据集是Exdark

@cuiziteng
Copy link
Owner

IAT_high部分的实验存在问题,我后面会重新check一下,另外您最后得到的mAP指标是否正常呢

@WWJ0720
Copy link
Author

WWJ0720 commented Jul 31, 2023

得到的mAP正常,大佬方便给个qq或者微信联系吗

@developWmark
Copy link

这个偏红色的原因好像不是出在apply_color,我之前也遇到这个问题,后来我拿其他的这种端到端模型,比如DENet放到yolo前面,出来的也是偏红色的,放到mmdetection里面训练的

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

3 participants