patverga / bran

Full abstract relation extraction from biological texts with bi-affine relation attention networks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error while converting processed data to tensorflow protobufs

imayachita opened this issue · comments

Hi all,
When I tried running
python ${CDR_IE_ROOT}/src/processing/labled_tsv_to_tfrecords.py --text_in_files ${processed_dir}/*tive_*CDR* --out_dir ${proto_dir} --max_len ${max_len} --num_threads 10 --multiple_mentions --tsv_format --min_count ${min_count}

I got this error:
print('\n'.join(sorted(["%s : %s" % (str(k), str(v)) for k, v in FLAGS.dict['__flags'].iteritems()])))
KeyError: '__flags'

Can anyone please help? Thanks!