Open FrancisFengbin opened 4 months ago
Hi, I encountered the same problem. Under bb_encoder.py, try fixing the return value of def configure_optimizers
as follows:
return { "optimizer": opt, "lr_scheduler": { "scheduler": scheduler, "strict": False, "monitor": "val_loss" }, }
@lkny123 Thanks! I'll give it a try.
Hello, I got an error that when running the
python mofdiff/scripts/train.py --config-name=bb > ./testmilnew1.out
. And the output isIt seems that ReduceLROnPlateau relies on a loss metric from the validation set, such as val_loss. But I found
# building block embedding space learning does not involve validation or testing.
in bb_encoder.py. So what can I do to deal with this bug? Thanks!