moein-shariatnia / OpenAI-CLIP

Simple implementation of OpenAI CLIP model in PyTorch.
MIT License
574 stars 85 forks source link

lr_scheduler doesn't work in your code #7

Closed archersama closed 1 year ago

archersama commented 1 year ago

ReduceLROnPlateau should monitor a parameter like val_loss to reduce lr

moein-shariatnia commented 1 year ago

It is monitoring that in lr_scheduler.step(valid_loss.avg).