will fail with the following assert:
it seems that the shape of the calculated features when feature_layer_fid!=2048 are not 2D but instead:
[N, feature_size, 1, 1]
it should be simple to fix by introducing a feature.squeeze() somewhere appropriately.
Script to reproduce
will fail with the following assert: it seems that the shape of the calculated features when
feature_layer_fid!=2048
are not 2D but instead:[N, feature_size, 1, 1]
it should be simple to fix by introducing afeature.squeeze()
somewhere appropriately.