如上图,报错AttributeError: 'MainNet' object has no attribute 'd52' :排查了好几遍网络结构都觉得没问题,后来发现。。。原来是 def __init__() 打错了,尴尬~ 相关文章: