Hello.
I tried to apply your CRF-layer to my semantic segmentation model.
But I found that the layer does not get an image as its input.
forward(self, x, spatial_spacings=None, verbose=False)
x is an output of my model, which functions as a unary potential, right?
At first, I thought the spatial_spacings is somewhat related to the data term, but it seems not...
(Because it has a shape of (batch_size, len(spatial)).)
Any help will be really appreciated.
Hello.
I tried to apply your CRF-layer to my semantic segmentation model.
But I found that the layer does not get an image as its input.
forward(self, x, spatial_spacings=None, verbose=False)
x is an output of my model, which functions as a unary potential, right?
At first, I thought the spatial_spacings is somewhat related to the data term, but it seems not...
(Because it has a shape of (batch_size, len(spatial)).)
Any help will be really appreciated.