kentonl / e2e-coref

End-to-end Neural Coreference Resolution
Apache License 2.0
524 stars 173 forks source link

Python 3 compatibility #68

Open Pab0 opened 5 years ago

Pab0 commented 5 years ago

My system

The problem

When run in a (conda) python3 environment, some of the scripts execute successfully but some still seem to require python2.

Specifically:

Proposed solution

I have created a pull request to fix the two issues encountered when running setup_training.py: #67 Forcing a fallback to python2 for the problematic scripts allowed me to run the script even in a python3 environment.

Regarding the error in train.py, I'm not 100% sure that the Python version is the culprit. I'm not familiar with the inner workings of TensorFlow, so if you think this is unrelated I'll open a separate issue for this.

asifm037 commented 4 years ago

Getting same error