Fixes imagenet training; imagenet training was broken at head with previous PR.
Fixes imagenet training; imagenet training was broken at head with previous PR.

PiperOrigin-RevId: 380686494

google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research