摘要:
1、RuntimeError: Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the same 如上错误是在 torch.onnx.export 时出现的 解决:x造成的,后边加上. 阅读全文
摘要:
注意numpy版本不要使用2.x,否则提醒 AttributeError: `np.string_` was removed in the NumPy 2.0 release. Use `np.bytes_` instead. 安装1.x版本,查看版本 conda search numpy 安装1. 阅读全文