You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I trained the model and exported it to the torch script format python export.py --weights runs\train\palm_detector\weights\best.pt --imgsz 640 --device 0. Next, I want to run images with different batch sizes on the GPU, but I get an error. If you use the CPU or run images with only one constant packet size (but it can only be changed three times), then everything is OK. The problem is that I can only get output from 3 runs, but no more - these are not necessarily 1,2,4 packets, of course they can be 4,8,16 and others - any 3 different ones
batch memory
1 677380096
2 809500672
4 1067450368
The following operation failed in the TorchScript interpreter.
Traceback of TorchScript (most recent call last):
RuntimeError: dims.size() == 4 || dims.size() == 3INTERNAL ASSERT FAILED at "C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\torch\csrc\jit\tensorexpr\expr.cpp":379, please report a bug to PyTorch. got size:5
OK, I fixed this by changing the lib torch version to 1.10.1, but here's my question. Is it possible to change not libtorch, but the pytorch version when learning on 1.11.0
OK, I fixed this by changing the lib torch version to 1.10.1, but here's my question. Is it possible to change not libtorch, but the pytorch version when learning on 1.11.0
ImportError: DLL load failed while importing nms_rotated_ext in train.py
I trained the model and exported it to the torch script format
python export.py --weights runs\train\palm_detector\weights\best.pt --imgsz 640 --device 0
. Next, I want to run images with different batch sizes on the GPU, but I get an error. If you use the CPU or run images with only one constant packet size (but it can only be changed three times), then everything is OK. The problem is that I can only get output from 3 runs, but no more - these are not necessarily 1,2,4 packets, of course they can be 4,8,16 and others - any 3 different onesbatch memory
1 677380096
2 809500672
4 1067450368
The following operation failed in the TorchScript interpreter.
Traceback of TorchScript (most recent call last):
RuntimeError: dims.size() == 4 || dims.size() == 3INTERNAL ASSERT FAILED at "C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\torch\csrc\jit\tensorexpr\expr.cpp":379, please report a bug to PyTorch. got size:5
The error occurs precisely when calling forward
libtorch version: 1.11.0+cuda11.3
The text was updated successfully, but these errors were encountered: