allenai/specter

Error when training: "None" is not a <Class 'allennlp.data.fields.field.Field'>

ringkasannet opened this issue · 1 comments

Hi guys, thanks for your hard work.

I am trying to reproduce your model by training with the original dataset using the run-exp-simple.sh:

./scripts/run-exp-simple.sh -c experiment_configs/simple.jsonnet -s mo
del-output/ --num-epochs 2 --batch-size 4 --train-path data/preprocessed/train.pkl --dev-path data/preprocessed/val.pkl --num
-train-instances 55 --cuda-device 0

but got the following error:

TypeError: ArrayField.empty_field: return type None is not a <class 'allennlp.data.fields.field.Field'>.

Do you have any idea what this is about?

I have ensured that the training pickle file does exist.

Thanks, cheers

Sorry i just noticed this has been discussed elsewhere. Closing