mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Put validation loss under amp_autocast
Secured the loss evaluation under the amp, avoiding function to operate on float16
This commit is contained in:
parent
7c4ed4d5a4
commit
3d6bc42aa1