aonotas / deep-crf

An implementation of Conditional Random Fields (CRFs) with Deep Learning Method
http://deep-crf.com
MIT License
167 stars 48 forks source link

What is the required packages with version ? #56

Closed IITtense closed 5 years ago

IITtense commented 6 years ago

I have tried to install it by instructed README file, but I always get error: In file included from /tmp/easy_install-btbh8apr/h5py-2.7.1/h5py/defs.c:569:0: /tmp/easy_install-btbh8apr/h5py-2.7.1/h5py/api_compat.h:27:18: fatal error: hdf5.h: No such file or directory compilation terminated. error: Setup script exited with error: command 'gcc' failed with exit status 1 Can anybody help me to out from this.

massongit commented 6 years ago

@IITtense If you use Ubuntu, you try to run sudo apt install libhdf5-dev before installing deep-crf.

IITtense commented 6 years ago

Thanks, Its work but when I execute train command then it shows error(I am using Python 2.7 in Ubuntu 64x machine) even my input file(train, dev, test) is copied to the same folder(deep-crf-master).

return callback(*args, **kwargs) File "build/bdist.linux-x86_64/egg/deepcrf/init.py", line 66, in train File "build/bdist.linux-x86_64/egg/deepcrf/main.py", line 102, in run ValueError: Invalid training sizes: 0 sentences.

massongit commented 6 years ago

@IITtense Please show me the execution command and input files.