You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/Users/jessejing/DILP-Core/run.py", line 55, in
B, pred_f, constants_f = process_file('%s/facts.dilp' % sys.argv[1])
File "/Users/jessejing/DILP-Core/run.py", line 46, in process_file
terms = [Term(False, term) for term in result['arguments'][idx]]
File "/Users/jessejing/miniforge3/envs/dilp/lib/python3.9/site-packages/pyparsing/results.py", line 193, in getitem
return self._toklist[i]
IndexError: list index out of range
Although I didn't install the python 3.6 as indicated in the dockerfile, the error seems not related to this, can you tried to recreate this error?
The text was updated successfully, but these errors were encountered:
I have been able to run the example and the python-notebook tests. I had to do the following:
(Tested it on an M1 mac and an intel Mac as well)
You need anaconda installed.
You need to create a conda virtual environment by: conda create -n myenv python=3.6
Activate your environment and install the packages required in requirements.txt through conda install or pip install (For tensorflow conda install tensorflow worked in my case and for ray pip install ray worked)
You need to install pyparsing version 2.4.6: pip install pyparsing==2.4.6
Run the example by executing: python run.py examples/even
to run the untitled.ipynb test you need to change tf.enable_eager_execution() to tf.compat.v1.enable_eager_execution()
Traceback (most recent call last):
File "/Users/jessejing/DILP-Core/run.py", line 55, in
B, pred_f, constants_f = process_file('%s/facts.dilp' % sys.argv[1])
File "/Users/jessejing/DILP-Core/run.py", line 46, in process_file
terms = [Term(False, term) for term in result['arguments'][idx]]
File "/Users/jessejing/miniforge3/envs/dilp/lib/python3.9/site-packages/pyparsing/results.py", line 193, in getitem
return self._toklist[i]
IndexError: list index out of range
Although I didn't install the python 3.6 as indicated in the dockerfile, the error seems not related to this, can you tried to recreate this error?
The text was updated successfully, but these errors were encountered: