neural-template-gen
neural-template-gen copied to clipboard
TypeError occurred when generation.
I have followed the steps in mentioned in Read.md for generating text from src_uniq_valid.txt.
For testing, I trained a model with a small amount of annotation data.
I have rerun segmentation part and used pretrained model.
I am unable to debug it. What could be the issue?
Traceback (most recent call last):
File "chsmm.py", line 1382, in
It looks to me like best_phrases is never getting updated, and so it remains None. This can happen, for instance, if you only generate 0-length generations.
It looks to me like best_phrases is never getting updated, and so it remains None. This can happen, for instance, if you only generate 0-length generations.
I have the same problem and don't know how to solve it.
same issue