BMNNSDK部署Sophone算丰智算盒SE5系列教程(超详细版)
--xf--:
[code=python]
[/code]
terminate called after throwing an instance of 'c10::Error'
what(): isTuple() INTERNAL ASSERT FAILED at "/pytorch/aten/src/ATen/core/ivalue_inl.h":1101, please report a bug to PyTorch. Expected Tuple but got String
Exception raised from toTuple at /pytorch/aten/src/ATen/core/ivalue_inl.h:1101 (most recent call first):
frame #0: c10::Error::Error(c10::SourceLocation, std::string) + 0x42 (0x7f297c5972f2 in /root/.local/lib/python3.7/site-packages/bmnetp/lib/libc10.so)
frame #1: + 0x34cb199 (0x7f296e341199 in /root/.local/lib/python3.7/site-packages/bmnetp/lib/libtorch_cpu.so)
frame #2: + 0x34cd915 (0x7f296e343915 in /root/.local/lib/python3.7/site-packages/bmnetp/lib/libtorch_cpu.so)
frame #3: + 0xd4d1c2 (0x7f296bbc31c2 in /root/.local/lib/python3.7/site
博主有遇到这个问题吗遇到 terminate called after throwing an instance of 'c10::Error' 错误,提示 Expected Tuple but got String,通常表明在模型追踪或转换过程中,模型的输出类型与预期不匹配
|