Closed jkschin closed 6 years ago
P.S. simply changing this
semantic=semantic.transpose([1,2,3,0])
and ensuring that the input semantic
has a dimension of 19 works as well.
This was originally intended for the Caffe format. I should have changed it Tensorflow format. Thanks for pointing out the problem.
Perhaps the inputs are supposed to be a different format, but changing it to this works much better for me.
Once this is done, we can simply print using:
@CQFIO perhaps you have another intended use for this function?