Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUDA error #90

Open
alsheabi opened this issue Feb 7, 2021 · 0 comments
Open

CUDA error #90

alsheabi opened this issue Feb 7, 2021 · 0 comments

Comments

@alsheabi
Copy link

alsheabi commented Feb 7, 2021

`100%
333/333 [01:51<00:00, 3.44it/s]
Caught RuntimeError in replica 0 on device 0.
Original Traceback (most recent call last):
File "/opt/conda/envs/efdet/lib/python3.7/site-packages/torch/nn/parallel/parallel_apply.py", line 60, in _worker
output = module(*input, **kwargs)
File "/opt/conda/envs/efdet/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "Monk_Object_Detection/4_efficientdet/lib/src/model.py", line 304, in forward
c3, c4, c5 = self.backbone_net(img_batch)
File "/opt/conda/envs/efdet/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "Monk_Object_Detection/4_efficientdet/lib/src/model.py", line 187, in forward
x = self.model._swish(self.model._bn0(self.model._conv_stem(x)))
File "/opt/conda/envs/efdet/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/opt/conda/envs/efdet/lib/python3.7/site-packages/efficientnet_pytorch/utils.py", line 144, in forward
x = F.conv2d(x, self.weight, self.bias, self.stride, self.padding, self.dilation, self.groups)
RuntimeError: cuDNN error: CUDNN_STATUS_NOT_INITIALIZED

CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
CUDA error: the launch timed out and was terminated
/opt/conda/envs/efdet/lib/python3.7/site-packages/numpy/core/fromnumeric.py:3373: RuntimeWarning: Mean of empty slice.
out=out, **kwargs)
/opt/conda/envs/efdet/lib/python3.7/site-packages/numpy/core/_methods.py:170: RuntimeWarning: invalid value encountered in double_scalars
ret = ret.dtype.type(ret / rcount)

RuntimeError Traceback (most recent call last)
in
1 #%%time
----> 2 gtf.Train(num_epochs=50, model_output_dir="trained/")

~/DS/Monk_Object_Detection/4_efficientdet/lib/train_detector.py in Train(self, num_epochs, model_output_dir)
357 with torch.no_grad():
358 if torch.cuda.is_available():
--> 359 cls_loss, reg_loss = self.system_dict["local"]["model"]([data['img'].to(self.system_dict["local"]["device"]).float(), data['annot'].to(self.system_dict["local"]["device"])])
360 else:
361 cls_loss, reg_loss = self.system_dict["local"]["model"]([data['img'].float(), data['annot']])

RuntimeError: CUDA error: the launch timed out and was terminated`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant