isayev / ReLeaSE

Deep Reinforcement Learning for de-novo Drug Design
MIT License
344 stars 134 forks source link

it seems a bug in your reinforcement.py line 114 #35

Open tbwxmu opened 4 years ago

tbwxmu commented 4 years ago

Hi all, A little bit confuse about the deaded while loop, are you want to skip the invalid SMILES? So add "break" next to "reward = 0" can work. However, I think you want to penalize the invalid smiles, so just replace reward to some negative value?