Traceback (most recent call last):


 "train.py", line 161, in <module>

train(args)


 "train.py", line 87, in train

outputs = model(images)


 "/home/flr/miniconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in __call__

result = self.forward(*input, **kwargs)


 "/home/flr/miniconda3/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 121, in forward

return self.module(*inputs[0], **kwargs[0])


 "/home/flr/miniconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in __call__

result = self.forward(*input, **kwargs)


 "/home/flr/nn/github/pytorch-semseg/ptsemseg/models/unet.py", line 56, in forward

up3 = self.up_concat3(conv3, up4)


 "/home/flr/miniconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in __call__

result = self.forward(*input, **kwargs)


 "/home/flr/nn/github/pytorch-semseg/ptsemseg/models/utils.py", line 120, in forward

return self.conv(torch.cat([outputs1, outputs2], 1))
RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 1. Got 24 and 23 in dimension 2 at /pytorch/aten/src/THC/generic/THCTensorMath.cu:87

**Traceback (most recent call last):


 "eval.py", line 441, in <module>

thresh=args.confidence_threshold) 


 "eval.py", line 386, in test_net

detections = net(x).data


 "/usr/local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in __call__

result = self.forward(*input, **kwargs)


 "/workspace/ssd.pytorch/ssd.py", line 104, in forward

self.priors.type(type(x.data))
# default boxes


 "/workspace/ssd.pytorch/layers/functions/detection.py", line 38, in forward

self.num_classes).transpose(2, 1)
RuntimeError: invalid argument 2: size '[1 x 8728 x 21]' is invalid for input with 183372 elements at /pytorch/aten/src/TH/THStorage.cpp:84**
