igashov / RetroBridge

RetroBridge: Markov Bridge Model for Retrosynthesis Planning
Other
27 stars 2 forks source link

TypeError: on_validation_epoch_end() missing 1 required positional argument: 'outs' #2

Open kskim-phd opened 8 months ago

kskim-phd commented 8 months ago

Dear Author, I sincerely appreciate your great work!

Could you please check the following error, when I run the training code? Please note that pytorch_lightning version installed is 2.2.0, as the same as in requirements.txt Thank you very much!

image
YifaSuoha962 commented 7 months ago

Dear Author, I sincerely appreciate your great work!

Could you please check the following error, when I run the training code? Please note that pytorch_lightning version installed is 2.2.0, as the same as in requirements.txt Thank you very much!

image

The problem derives from lack of input corresponding to the fucntion on_validation_epoch_end() lies in the three framework files below (chosen with blue background). image You can set default value for argument 'outs' in each function to solve it, like this. image

kskim-phd commented 7 months ago

Thank you sincerely :) !