ffcv-imagenet
ffcv-imagenet copied to clipboard
resolve deprecated compute_on_step
Hi,
Start from here compute_on_step
is deprecated. New version of torchmetrics will rase
ValueError: Unexpected keyword arguments: compute_on_step.
Quick fix is to remove them to be compatible with the new version(1.4.0): e.g. https://github.com/libffcv/ffcv-imagenet/blob/4dd291a122096a2032ec9fd19633e1b9aff3577d/train_imagenet.py#L419