Hi there,
I was trying to run the model. After trying:
$ python transformer.py --predict uspto-50k/patents_test100.csv.can --model models/base-retrosynthesis.h5
I got “list index out of range” error and upon checking, I found that "Final beams: 0". The function gen(mdl, product) works as normal but the same product produces meaningless sequences, such as “c12c(cccc2C2c2c3c(c(cc3C2C2c3c(cc(cc3C1)C2c1coc(c1)Cl)cs2...” in gen_beam(mdl_encoder, mdl_decoder, T, product, beam_size) function.
Did I miss something? Any help/suggestion would be appreciated!
Hi there,
I was trying to run the model. After trying:
I got “list index out of range” error and upon checking, I found that "Final beams: 0". The function
gen(mdl, product)works as normal but the sameproductproduces meaningless sequences, such as “c12c(cccc2C2c2c3c(c(cc3C2C2c3c(cc(cc3C1)C2c1coc(c1)Cl)cs2...” ingen_beam(mdl_encoder, mdl_decoder, T, product, beam_size)function.Did I miss something? Any help/suggestion would be appreciated!