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
C:\cb\pytorch_1000000000000\work\aten\src\ATen\native\cuda\Indexing.cu:1146: block: [59,0,0], thread: [61,0,0] Assertion srcIndex < srcSelectDimSize failed.
C:\cb\pytorch_1000000000000\work\aten\src\ATen\native\cuda\Indexing.cu:1146: block: [59,0,0], thread: [62,0,0] Assertion srcIndex < srcSelectDimSize failed.
C:\cb\pytorch_1000000000000\work\aten\src\ATen\native\cuda\Indexing.cu:1146: block: [59,0,0], thread: [63,0,0] Assertion srcIndex < srcSelectDimSize failed.
Traceback (most recent call last):
File "D:\RT-DETR-main\RT-DETR-main\rtdetr_pytorch\tools\train.py", line 50, in
main(args)
File "D:\RT-DETR-main\RT-DETR-main\rtdetr_pytorch\tools\train.py", line 36, in main
solver.fit()
File "D:\RT-DETR-main\RT-DETR-main\rtdetr_pytorch\tools..\src\solver\det_solver.py", line 37, in fit
train_stats = train_one_epoch(
File "D:\RT-DETR-main\RT-DETR-main\rtdetr_pytorch\tools..\src\solver\det_engine.py", line 58, in train_one_epoch
outputs = model(samples, targets)
File "D:\code\anaconda3\envs\RT-DETR\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "D:\RT-DETR-main\RT-DETR-main\rtdetr_pytorch\tools..\src\zoo\rtdetr\rtdetr.py", line 35, in forward
x = self.decoder(x, targets)
File "D:\code\anaconda3\envs\RT-DETR\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "D:\RT-DETR-main\RT-DETR-main\rtdetr_pytorch\tools..\src\zoo\rtdetr\rtdetr_decoder.py", line 537, in forward
self._get_decoder_input(memory, spatial_shapes, denoising_class, denoising_bbox_unact)
File "D:\RT-DETR-main\RT-DETR-main\rtdetr_pytorch\tools..\src\zoo\rtdetr\rtdetr_decoder.py", line 479, in _get_decoder_input
anchors, valid_mask = self._generate_anchors(spatial_shapes, device=memory.device)
File "D:\RT-DETR-main\RT-DETR-main\rtdetr_pytorch\tools..\src\zoo\rtdetr\rtdetr_decoder.py", line 461, in _generate_anchors
anchors = torch.concat(anchors, 1).to(device)
RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.
为了快速跑通,训练集数据很少,就只有29个图片,然后训练时出现了找不到图片的报错,关键是报错的图片根本不在我的数据集里面,莫名其妙
The text was updated successfully, but these errors were encountered: