-
Notifications
You must be signed in to change notification settings - Fork 378
Can anyone help me with this I need some help #309
Description
Traceback (most recent call last):
File "C:\Users\trung\Downloads\Compressed\AI-Aimbot-main\main.py", line 175, in
main()
File "C:\Users\Users\Downloads\Compressed\AI-Aimbot-main\main.py", line 68, in main
results = model(im, size=screenShotHeight)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Users\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Users\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Users/.cache\torch\hub\ultralytics_yolov5_master\models\common.py", line 881, in forward
return self.model(ims.to(p.device).type_as(p), augment=augment) # inference
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Users\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Users/.cache\torch\hub\ultralytics_yolov5_master\models\common.py", line 701, in forward
y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
^^^^^^^^^^^^^^
File "C:\Users\Users\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Users/.cache\torch\hub\ultralytics_yolov5_master\models\yolo.py", line 271, in forward
return self._forward_once(x, profile, visualize) # single-scale inference, train
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\trung/.cache\torch\hub\ultralytics_yolov5_master\models\yolo.py", line 170, in _forward_once
x = m(x) # run
^^^^
File "C:\Users\Users\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Users/.cache\torch\hub\ultralytics_yolov5_master\models\common.py", line 457, in forward
return torch.cat(x, self.d)
^^^^^^^^^^^^^^^^^^^^
RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 136 but got size 135 for tensor number 1 in the list.
ERROR: Sizes of tensors must match except in dimension 1. Expected size 136 but got size 135 for tensor number 1 in the list.