pytorch-deeplab-xception
pytorch-deeplab-xception copied to clipboard
loss function
when i use CrossEntropyLoss(),it has aproblem:RuntimeError: 1only batches of spatial targets supported (non-empty 3D tensors) but got targets of size: : [16, 513, 513, 4]
target should be 3 dimension.