Open Minys233 opened 4 years ago
I noticed in example code, some argument are inconsistent in the commented parts, such as lines in examples/molnet/train_molnet.py: https://github.com/chainer/chainer-chemistry/blob/56e83dedb5de9dc9eb08ebf292be9ba76a4883ba/examples/molnet/train_molnet.py#L267-L274
examples/molnet/train_molnet.py
args.gpu and concat_mols are not consistent with other codes and will throw errors. They should be modified to device and converter, since they are extracted from args or defined in previous lines like this: https://github.com/chainer/chainer-chemistry/blob/56e83dedb5de9dc9eb08ebf292be9ba76a4883ba/examples/molnet/train_molnet.py#L209 https://github.com/chainer/chainer-chemistry/blob/56e83dedb5de9dc9eb08ebf292be9ba76a4883ba/examples/molnet/train_molnet.py#L233
args.gpu
concat_mols
device
converter
args
Since this mistake is too minor to PR, a small issue is enough. Have a nice day :-)
Sorry for confusion for remaining the old legacy code, and thank you for report.
I noticed in example code, some argument are inconsistent in the commented parts, such as lines in
examples/molnet/train_molnet.py
: https://github.com/chainer/chainer-chemistry/blob/56e83dedb5de9dc9eb08ebf292be9ba76a4883ba/examples/molnet/train_molnet.py#L267-L274args.gpu
andconcat_mols
are not consistent with other codes and will throw errors. They should be modified todevice
andconverter
, since they are extracted fromargs
or defined in previous lines like this: https://github.com/chainer/chainer-chemistry/blob/56e83dedb5de9dc9eb08ebf292be9ba76a4883ba/examples/molnet/train_molnet.py#L209 https://github.com/chainer/chainer-chemistry/blob/56e83dedb5de9dc9eb08ebf292be9ba76a4883ba/examples/molnet/train_molnet.py#L233Since this mistake is too minor to PR, a small issue is enough. Have a nice day :-)