Traceback (most recent call last): File "parse_sents.py", line 18, in <module> from pyutils.corenlp import StanfordCoreNLP File "/media/disk/user/abhinav/refer-parser2/pyutils/corenlp/__init__.py", line 13, in <module> from .corenlp import StanfordCoreNLP, ParserError, TimeoutError, ProcessError File "/media/disk/user/abhinav/refer-parser2/pyutils/corenlp/corenlp.py", line 31, in <module> from progressbar import ProgressBar, Fraction ImportError: cannot import name 'Fraction' from 'progressbar' (venv/lib/python3.7/site-packages/progressbar/__init__.py)
While executing the following command:
python parse_sents.py --dataset refcoco --splitBy unc --num_workers 4
I am getting the following error:
Traceback (most recent call last): File "parse_sents.py", line 18, in <module> from pyutils.corenlp import StanfordCoreNLP File "/media/disk/user/abhinav/refer-parser2/pyutils/corenlp/__init__.py", line 13, in <module> from .corenlp import StanfordCoreNLP, ParserError, TimeoutError, ProcessError File "/media/disk/user/abhinav/refer-parser2/pyutils/corenlp/corenlp.py", line 31, in <module> from progressbar import ProgressBar, Fraction ImportError: cannot import name 'Fraction' from 'progressbar' (venv/lib/python3.7/site-packages/progressbar/__init__.py)
Following is my requirements.txt: