IndexError: invalid index of a 0-dim tensor. Use `tensor.item()` in Python or `tensor.item()` in C++ to convert a 0-dim tensor to a number - Attack-DrHao - 博客园 (cnblogs.com)
手机扫一扫
移动阅读更方便
你可能感兴趣的文章
4
5