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
The method SpatialAugmentedTensor.pad() could accept a multiple argument. This argument would result in padding the tensor spatial dimensions to a multiple of multiple.
Some flag(s) should indicate if we should pad the labels or not. We could have one boolean flag pad_label, or make it possible to specify which labels should be padded.
Unpadding
Padding to a multiple is often used before performing inference with a model. Given the type of outputs of the model, it is sometimes necessary to unpad the outputs. We should provide a method to unpad too.
The text was updated successfully, but these errors were encountered:
Ok, this is the case in RAFT inference. Padding is currently achieve using an external transformation because in the model input should be a multiple of 8.
The method
SpatialAugmentedTensor.pad()
could accept amultiple
argument. This argument would result in padding the tensor spatial dimensions to a multiple ofmultiple
.Some flag(s) should indicate if we should pad the labels or not. We could have one boolean flag
pad_label
, or make it possible to specify which labels should be padded.Unpadding
Padding to a multiple is often used before performing inference with a model. Given the type of outputs of the model, it is sometimes necessary to unpad the outputs. We should provide a method to unpad too.
The text was updated successfully, but these errors were encountered: