visionml / pytracking

Visual tracking library based on PyTorch.
GNU General Public License v3.0
3.19k stars 603 forks source link

tomp user warning #430

Open 852653835 opened 3 months ago

852653835 commented 3 months ago

I have not modified the code, why is the following warning reported:

/ltr/data/loader.py:83: UserWarning: An output with one or more elements was resized since it had shape [2592], which does not match the required output shape [2, 4, 1, 18, 18]. This behavior is deprecated, and in a future PyTorch release outputs will not be resized unless they have zero elements. You can explicitly reuse an out tensor t by resizing it, inplace, to zero elements with t.resize_(0). (Triggered internally at ../aten/src/ATen/native/Resize.cpp:17.)