首页 PaddleCV 帖子详情
paddleclas如何使用CBAM
收藏
快速回复
PaddleCV 问答图像分类 1988 0
paddleclas如何使用CBAM
收藏
快速回复
PaddleCV 问答图像分类 1988 0

使用了自定义的CBAM,然后出现了没遇到过的问题

报红如下:

C:\Users\lenovo\AppData\Local\Programs\Python\Python39\lib\site-packages\paddle\nn\layer\layers.py:2084: UserWarning: Skip loading for blocks.0.cbam.channelAttention.fc1.weight. blocks.0.cbam.channelAttention.fc1.weight is not found in the provided dict.
warnings.warn(f"Skip loading for {key}. " + str(err))
C:\Users\lenovo\AppData\Local\Programs\Python\Python39\lib\site-packages\paddle\nn\layer\layers.py:2084: UserWarning: Skip loading for blocks.0.cbam.channelAttention.fc1.bias. blocks.0.cbam.channelAttention.fc1.bias is not found in the provided dict.
warnings.warn(f"Skip loading for {key}. " + str(err))
C:\Users\lenovo\AppData\Local\Programs\Python\Python39\lib\site-packages\paddle\nn\layer\layers.py:2084: UserWarning: Skip loading for blocks.0.cbam.channelAttention.fc2.weight. blocks.0.cbam.channelAttention.fc2.weight is not found in the provided dict.
warnings.warn(f"Skip loading for {key}. " + str(err))
C:\Users\lenovo\AppData\Local\Programs\Python\Python39\lib\site-packages\paddle\nn\layer\layers.py:2084: UserWarning: Skip loading for blocks.0.cbam.channelAttention.fc2.bias. blocks.0.cbam.channelAttention.fc2.bias is not found in the provided dict.
warnings.warn(f"Skip loading for {key}. " + str(err))
C:\Users\lenovo\AppData\Local\Programs\Python\Python39\lib\site-packages\paddle\nn\layer\layers.py:2084: UserWarning: Skip loading for blocks.0.cbam.spatialAttention.conv1.weight. blocks.0.cbam.spatialAttention.conv1.weight is not found in the provided dict.
warnings.warn(f"Skip loading for {key}. " + str(err))
C:\Users\lenovo\AppData\Local\Programs\Python\Python39\lib\site-packages\paddle\nn\layer\layers.py:2084: UserWarning: Skip loading for blocks.0.cbam.spatialAttention.conv1.bias. blocks.0.cbam.spatialAttention.conv1.bias is not found in the provided dict.
warnings.warn(f"Skip loading for {key}. " + str(err))
C:\Users\lenovo\AppData\Local\Programs\Python\Python39\lib\site-packages\paddle\nn\layer\layers.py:2084: UserWarning: Skip loading for blocks.1.cbam.channelAttention.fc1.weight. blocks.1.cbam.channelAttention.fc1.weight is not found in the provided dict.
warnings.warn(f"Skip loading for {key}. " + str(err))
C:\Users\lenovo\AppData\Local\Programs\Python\Python39\lib\site-packages\paddle\nn\layer\layers.py:2084: UserWarning: Skip loading for blocks.1.cbam.channelAttention.fc1.bias. blocks.1.cbam.channelAttention.fc1.bias is not found in the provided dict.
warnings.warn(f"Skip loading for {key}. " + str(err))
C:\Users\lenovo\AppData\Local\Programs\Python\Python39\lib\site-packages\paddle\nn\layer\layers.py:2084: UserWarning: Skip loading for blocks.1.cbam.channelAttention.fc2.weight. blocks.1.cbam.channelAttention.fc2.weight is not found in the provided dict.
warnings.warn(f"Skip loading for {key}. " + str(err))



0
收藏
回复
需求/bug反馈?一键提issue告诉我们
发现bug?如果您知道修复办法,欢迎提pr直接参与建设飞桨~
在@后输入用户全名并按空格结束,可艾特全站任一用户