cuiziteng / Illumination-Adaptive-Transformer

🌕 [BMVC 2022] You Only Need 90K Parameters to Adapt Light: A Light Weight Transformer for Image Enhancement and Exposure Correction. SOTA for low light enhancement, 0.004 seconds try this for pre-processing.
Apache License 2.0
459 stars 43 forks source link

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

Open WWJ0720 opened 1 year ago

WWJ0720 commented 1 year ago

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

cuiziteng commented 1 year ago

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

WWJ0720 commented 1 year ago

是自己训练的模型

cuiziteng commented 1 year ago

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

WWJ0720 commented 1 year ago

是在IAT_high里面

WWJ0720 commented 1 year ago

数据集是Exdark

cuiziteng commented 1 year ago

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

WWJ0720 commented 1 year ago

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

developWmark commented 1 year ago

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