allenai / allenai/bilm-tf

Unable to train ELMO after loading all training files.

未关闭
#219 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
1.6k
派生
447
PR 合并指标
30 天内没有已合并 PR

描述

Hi I'm trying to train ELMO using my corpus.
The training script stop after loading loading all training data.
the training script stopped after getting the below message

WARNING : Error encountered when serializing lstm_output_embeddings.
Type is unsupported, or the types of the items don't match field type in CollectionDef.
'list' object has no attribute 'name'

I have divided my training corpus into 10 files each contains 3890 sentences.
I'm using 3 gpus.

The command I'm using is the following:

$python bin/train_elmo.py --train_prefix='/path to data file/*' --vocab_file '/path to vocab file' --save_dir '/path to check point/'

Can you please help

Thanks in advance!

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。