Skip to content

Issue of training the building block encoder #20

Description

@FrancisFengbin

Hello, I got an error that when running the python mofdiff/scripts/train.py --config-name=bb > ./testmilnew1.out . And the output is

pytorch_lightning.utilities.exceptions.MisconfigurationException: ReduceLROnPlateau conditioned on metric val_loss which is not available. Available metrics are: ['train_num_atom_loss', 'train_num_atom_loss_step', 'train_num_cp_loss', 'train_num_cp_loss_step', 'train_diameter_loss', 'train_diameter_loss_step', 'train_id_loss', 'train_id_loss_step', 'train_loss', 'train_loss_step', 'z_norm', 'z_norm_step', 'train_num_atom_loss_epoch', 'train_num_cp_loss_epoch', 'train_diameter_loss_epoch', 'train_id_loss_epoch', 'train_loss_epoch', 'z_norm_epoch']. Condition can be set using `monitor` key in lr scheduler dict

It 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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions