AttributeError: 'MBConvBlock' object has no attribute '_depthwise_conv'
时间: 2023-10-07 08:06:26 浏览: 265
Python3下错误AttributeError: ‘dict’ object has no attribute’iteritems‘的分析与解决
5星 · 资源好评率100%
这个错误是因为'MBConvBlock'对象没有'_depthwise_conv'属性。要解决这个问题,你可以检查一下你的代码,确保你在MBConvBlock类中正确定义了'_depthwise_conv'属性。同时,你也可以查看一下你的导入语句,确保你导入了必要的模块和类。如果问题仍然存在,可能需要进一步检查你的代码逻辑和调用方式。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [浅谈Tensorflow由于版本问题出现的几种错误及解决方法](https://download.csdn.net/download/weixin_38724919/14862671)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [AttributeError: ‘builtin_function_or_method‘ object has no attribute ‘fftn](https://blog.csdn.net/m0_37052320/article/details/123663705)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文