bkntr / coref-ee

Coreference Resolution With Entity Equalization
Apache License 2.0
40 stars 7 forks source link

Hi everyone, can this project be setup and run successfully? #14

Open henryhust opened 5 years ago

henryhust commented 5 years ago

This project seems not to run successfully, after I see the other issues. Can anybody tell the truth?

henryhust commented 4 years ago

yes, it can run successfully. but there missing some files ,you can refer to the 《Higher-order Coreference Resolution with Coarse-to-fine Inference》 to get more information.

henryhust commented 4 years ago

It even gets the SOA in my chinese coreference task in special domain.

LifeIsStrange commented 4 years ago

After python demo.py final

I get

tensorflow-gpu==1.15.2 Traceback (most recent call last): File "demo.py", line 6, in import tensorflow as tf File "/home/stephane/miniconda3/envs/py36/lib/python3.6/site-packages/tensorflow/init.py", line 99, in from tensorflow_core import * File "/home/stephane/miniconda3/envs/py36/lib/python3.6/site-packages/tensorflow_core/init.py", line 28, in from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import ImportError: cannot import name 'pywrap_tensorflow'

with tensorflow-gpu==1.11 Traceback (most recent call last): File "demo.py", line 6, in import tensorflow as tf File "/home/stephane/miniconda3/envs/py36/lib/python3.6/site-packages/tensorflow/init.py", line 22, in from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import File "/home/stephane/miniconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/init.py", line 47, in import numpy as np File "/home/stephane/miniconda3/envs/py36/lib/python3.6/site-packages/numpy/init.py", line 142, in from . import core File "/home/stephane/miniconda3/envs/py36/lib/python3.6/site-packages/numpy/core/init.py", line 57, in from . import numerictypes as nt File "/home/stephane/miniconda3/envs/py36/lib/python3.6/site-packages/numpy/core/numerictypes.py", line 111, in from ._type_aliases import ( File "/home/stephane/miniconda3/envs/py36/lib/python3.6/site-packages/numpy/core/_type_aliases.py", line 63, in _concrete_types = {v.type for k, v in _concrete_typeinfo.items()} File "/home/stephane/miniconda3/envs/py36/lib/python3.6/site-packages/numpy/core/_type_aliases.py", line 63, in _concrete_types = {v.type for k, v in _concrete_typeinfo.items()} AttributeError: 'tuple' object has no attribute 'type'

heres my requirements.txt h5py==2.8.0 nltk==3.4 numpy==1.16 pyhocon==0.3.48 tensorflow-gpu==1.11 termcolor==1.1.0 tqdm==4.31.1

with python 3.6

LifeIsStrange commented 4 years ago

halp ERROR: astropy 4.0.1.post1 has requirement numpy>=1.16, but you'll have numpy 1.15.0 which is incompatible.

I fail to fix requirements.txt