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
Traceback (most recent call last):
File "main_landet.py", line 76, in
runner.run()
File "/home/ubuntu/code/pytorch-auto-drive/utils/runners/lane_det_trainer.py", line 55, in run
self.model)
File "/home/ubuntu/anaconda3/envs/pad/lib/python3.6/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/ubuntu/code/pytorch-auto-drive/utils/losses/hungarian_bezier_loss.py", line 150, in forward
loss_seg = self.binary_seg_loss(inputs=outputs['segmentations'], targets=target_segmentations)
File "/home/ubuntu/code/pytorch-auto-drive/utils/losses/hungarian_bezier_loss.py", line 204, in binary_seg_loss
reduction='none') / self.pos_weight_seg
File "/home/ubuntu/anaconda3/envs/pad/lib/python3.6/site-packages/torch/nn/functional.py", line 2538, in binary_cross_entropy_with_logits
raise ValueError("Target size ({}) must be the same as input size ({})".format(target.size(), input.size()))
ValueError: Target size (torch.Size([20, 360, 640, 3])) must be the same as input size (torch.Size([20, 640, 3]))