Siamese-pytorch icon indicating copy to clipboard operation
Siamese-pytorch copied to clipboard

RuntimeWarning: Iterating over a tensor might cause the trace to be incorrect.

Open TaoInAnytime opened this issue 2 years ago • 1 comments

导,运行train.py时报错,请问如何解决呀,是环境或者超参数的问题吗? /home/u22s061012/.local/lib/python3.7/site-packages/torch/tensor.py:389: RuntimeWarning: Iterating over a tensor might cause the trace to be incorrect. Passing a tensor of different shape won't change the number of iterations executed (and might lead to errors or silently give incorrect results). 'incorrect results).', category=RuntimeWarning)

TaoInAnytime avatar Aug 02 '23 16:08 TaoInAnytime

没事 不影响

bubbliiiing avatar Aug 04 '23 16:08 bubbliiiing