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
FeatureExtractor.predict() and FeatureExtractor.predict_tensor() now takes a new argument as input: postproc_fns. This argument is a list of Callable functions that applies to the batch features obtained after each (batch-wise) forward. It allows us to perform postprocessing on internal features on the fly rather than after a forward pass on the whole dataset that would require saving the features of the whole dataset in GPU memory, likely leading to an OOM (especially for feature maps).