
Error
春风不解风情T
这个作者很懒,什么都没留下…
展开
-
VTK和VMTK运行时报错解决方案
【代码】VTK和VMTK运行时报错解决方案。原创 2023-02-14 15:23:27 · 989 阅读 · 2 评论 -
AssertionError: size of input tensor and input format are different.
在写代码的时候出现以下错误:AssertionError: size of input tensor and input format are different. tensor shape: (64, 3, 32, 32), input_format: CHW 原因:tensor的维度是(64,3,32,32)而要求的输入格式是CHW,两者不匹配所以报错。 解决办法:用add_images方法替换add_image方法即可。 ...原创 2021-07-22 11:58:19 · 2139 阅读 · 2 评论