osmesa error
raceback (most recent call last):
File "src/run/predict.py", line 22, in
File "./src/model/SADRNv2.py", line 98, in forward x = self.block1(x) File "/data/Downloads/CondaAg/lib/python3.6/site-packages/torch/nn/modules/module.py", line 889, in _call _impl result = self.forward(*input, **kwargs) File "./src/model/modules.py", line 540, in forward out += identity RuntimeError: The size of tensor a (129) must match the size of tensor b (128) at non-singleton dimension 3
File "./src/model/SADRNv2.py", line 98, in forward x = self.block1(x) File "/data/Downloads/CondaAg/lib/python3.6/site-packages/torch/nn/modules/module.py", line 889, in _call _impl result = self.forward(*input, **kwargs) File "./src/model/modules.py", line 540, in forward out += identity RuntimeError: The size of tensor a (129) must match the size of tensor b (128) at non-singleton dimension 3
How did you fix the first error? I have the same error. ImportError: cannot import name 'OSMesaCreateContextAttribs' from 'OpenGL.osmesa'
File "./src/model/SADRNv2.py", line 98, in forward x = self.block1(x) File "/data/Downloads/CondaAg/lib/python3.6/site-packages/torch/nn/modules/module.py", line 889, in _call _impl result = self.forward(*input, **kwargs) File "./src/model/modules.py", line 540, in forward out += identity RuntimeError: The size of tensor a (129) must match the size of tensor b (128) at non-singleton dimension 3
Hello, Have you addressed this problem?