-
Notifications
You must be signed in to change notification settings - Fork 10
Weird predictions in gen_beam() #2
Copy link
Copy link
Open
Description
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!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels