New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing entry.py for MisconfigurationException error #40
Comments
Thank you for kind reply! I'm always grateful for your help :) |
The reproduction of the ZINC results reported in our paper doesn't need pre-training. You can directly use the script. Btw, remember to test your model on ZINC testset, refer to #35 . |
Then shell script in training ZINC dataset do training and validation, and should I use test dataset with another script to reproduce test MAE 0.122? then loss in log bar (it is not ZINC data) means validation loss? |
I solved the second problem! the loss in log bar means average loss about the past 100 batches in training. |
Yes, pls save your ckpt according to best val then test it on Testset. |
Close this issue due to inactive. Feel free to raise a new one or reopen this one for any further question. |
Hi! This is Stella from Seoul National University, I'm getting a lot of help from your code.
I have a question about entry.py line 87.
Originally it has metric = 'valid_' + get_dataset(dm.dataset_name)['metric']
but when I run model, I faced error like this:
'pytorch_lightning.utilities.exceptions.MisconfigurationException: ModelCheckpoint(monitor='valid_mae') not found in the returned metrics: ['train_loss']. HINT: Did you call self.log('valid_mae', value) in the LightningModule?'
So I changed the line 87 as metric = 'train_loss'
and it runs well.
I'm quite afraid that I'm doing something wrong, is it right way to modify the code?
Here are some useful information for my project:
The text was updated successfully, but these errors were encountered: