Skip to content

EnsureValidTVTensor crash if no label

When an instance of this class is used in a pipeline with no labels, it crash due to the mandatory target argument:

TypeError: EnsureValidTVTensors.forward() missing 1 required positional argument: 'target'
Edited by Louis Pagnier