torch 错误总结
###RuntimeError: tried to construct a tensor from a int sequence, but found an item of type numpy.int64 at index (0)
Using .tolist() for numpy array as follows.
###RuntimeError: tried to construct a tensor from a int sequence, but found an item of type numpy.int64 at index (0)
Using .tolist() for numpy array as follows.