bubbliiiing / Siamese-pytorch

这是一个孪生神经网络(Siamese network)的库,可进行图片的相似性比较。
MIT License
539 stars 120 forks source link

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

Open TaoF02 opened 11 months ago

TaoF02 commented 11 months ago

导,运行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)

bubbliiiing commented 11 months ago

没事 不影响