smiles-transformer
smiles-transformer copied to clipboard
Shouldn't here be a +=?
https://github.com/DSPsleeporg/smiles-transformer/blob/7ffa26e5bc68db0292164466398ff2edfa4a0f62/smiles_transformer/pretrain_trfm.py#L58
~You're right. It should be +=
~
so ,line 58 should be a += ?
No I think at some point I noticed it is fine the way it is.
On Fri, 15 Apr 2022 at 15:47, sevencheung2021 @.***> wrote:
so ,line 58 should be a += ?
— Reply to this email directly, view it on GitHub https://github.com/DSPsleeporg/smiles-transformer/issues/20#issuecomment-1100120521, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5YNASZ6HIIHWTZW66SINLVFFXQRANCNFSM5BE56ZRQ . You are receiving this because you authored the thread.Message ID: @.***>
I agree with @chrislybaer, it is fine the way it is: there is no need for a "+=" See https://pytorch.org/tutorials/beginner/transformer_tutorial.html#define-the-model
@VincentBt You are definitely right. I'm sorry for confusing you all with my previous comment.