摘要: The JAVA_HOME environment variable is not defined correctlyThis environment variable is needed to run this propramJAVA_HOME should point to a JDK not 阅读全文
posted @ 2021-06-25 15:13 略略略—— 阅读(566) 评论(0) 推荐(0) 编辑
摘要: torch.onnx.export 时添加参数 training=2,可以将conv和bn 分开显示,否则onnx默认将bn层融合到conv层。 添加training=2 重新生成onnx之后,再次用Netron 查看网络结构: 带有BN层的卷积操作,其卷积的bias 取消掉了,与BN 的beta合 阅读全文
posted @ 2021-06-25 10:37 略略略—— 阅读(1998) 评论(0) 推荐(0) 编辑