smiles-transformer icon indicating copy to clipboard operation
smiles-transformer copied to clipboard

Shouldn't here be a +=?

Open wendlerc opened this issue 3 years ago • 5 comments

https://github.com/DSPsleeporg/smiles-transformer/blob/7ffa26e5bc68db0292164466398ff2edfa4a0f62/smiles_transformer/pretrain_trfm.py#L58

wendlerc avatar Jul 28 '21 18:07 wendlerc

~You're right. It should be +=~

shionhonda avatar Aug 10 '21 11:08 shionhonda

so ,line 58 should be a += ?

sevencheung2021 avatar Apr 15 '22 13:04 sevencheung2021

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: @.***>

wendlerc avatar Apr 18 '22 07:04 wendlerc

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 avatar Jul 03 '22 16:07 VincentBt

@VincentBt You are definitely right. I'm sorry for confusing you all with my previous comment.

shionhonda avatar Jul 03 '22 23:07 shionhonda