-
Notifications
You must be signed in to change notification settings - Fork 45
Description
This is problem feedback:
Traceback (most recent call last):
File "main.py", line 188, in
main()
File "main.py", line 167, in main
outputs = model(inputs.unsqueeze(0))
File "/home/zjh/anaconda3/envs/psmnet/lib/python3.7/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/home/zjh/DeepLabv3.pytorch-master/deeplab.py", line 193, in forward
x = self.layer1(x)
File "/home/zjh/anaconda3/envs/psmnet/lib/python3.7/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/home/zjh/anaconda3/envs/psmnet/lib/python3.7/site-packages/torch/nn/modules/container.py", line 91, in forward
input = module(input)
File "/home/zjh/anaconda3/envs/psmnet/lib/python3.7/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/home/zjh/DeepLabv3.pytorch-master/deeplab.py", line 119, in forward
out = self.conv2(out)
File "/home/zjh/anaconda3/envs/psmnet/lib/python3.7/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/home/zjh/anaconda3/envs/psmnet/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 301, in forward
self.padding, self.dilation, self.groups)
RuntimeError: CUDA error: out of memory
I have changed batchsize,but the problem has not been solved