A-Hierarchical-Latent-Structure-for-Variational-Conversation-Modeling
A-Hierarchical-Latent-Structure-for-Variational-Conversation-Modeling copied to clipboard
ValueError: expected sequence of length 11 at dim 1 (got 18)
I cloned the repo to run the train.py on dataset ubuntu, both commands gave me similar errors as below
python train.py --data=ubuntu --model=VHRED --batch_size=40 --word_drop=0.25 --kl_annealing_iter=250000
python train.py --data=ubuntu --model=VHCR --batch_size=40 --sentence_drop=0.25 --kl_annealing_iter=250000
Traceback (most recent call last):
File "train.py", line 53, in
But running "python train.py --data=cornell --model=HRED" seems working fine.
I was running with pytorch 0.4.0 which i conda-installed from pytorch channel.
Each sentence has a different dimension, which leads to this error(in LongTensor). I don't know how to solve it too
Just found a bug from data preprocessing file and fixed it. => https://github.com/ctr4si/A-Hierarchical-Latent-Structure-for-Variational-Conversation-Modeling/commit/e0d70c5b19ec724dd404ca3c94335417a4722068 Please check if it works now.
咋个搞吗
咋个搞吗
作者不是修复了吗