knu-lcbc / RetroTRAE

Retrosynthetic prediction with Atom Environments
Other
37 stars 8 forks source link

NameError: name 'fp_names' is not defined #8

Closed MSDP4DOM closed 1 year ago

MSDP4DOM commented 1 year ago

in RetroTRAE\RetroTRAE\train.py, I got an error: NameError: name 'fp_names' is not defined. Could you please check it? Many thanks. args.src_vocab_size = fp_vocab_sizes[args.fp] args.trg_vocab_size = trg_vocab_sizes[args.model_type] args.src_seq_len = fp_seq_lens[args.fp] args.trg_seq_len = trg_seq_len fp_vocab_sizes, trg_vocab_sizes, fp_seq_lens and trg_seq_len are not defined either.

ashyrmamatov01 commented 1 year ago

Sorry for the confusion. Please use python src/train.py script for training, instead of RetroTRAE/train.py.

MSDP4DOM commented 1 year ago

Sure, Thank you!