Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relation not in cfacts (but in program and examples) does not get a matrix in DB #4

Open
fanyangxyz opened this issue Mar 23, 2017 · 0 comments

Comments

@fanyangxyz
Copy link

fanyangxyz commented Mar 23, 2017

I ran an experiment where there's a relation (called affects) not contained in cfacts but in program and examples, and got the following error:

Traceback (most recent call last):
  File "umls-expt.py", line 51, in <module>
    expt.Expt(params).run()
  File "/usr1/public/fanyang1/TensorLog/tensorlog/expt.py", line 31, in run
    return self._run(**self.config)
  File "/usr1/public/fanyang1/TensorLog/tensorlog/expt.py", line 59, in _run
    lambda:learner.datasetPredict(trainData))
  File "/usr1/public/fanyang1/TensorLog/tensorlog/expt.py", line 134, in timeAction
    result = act()
  File "/usr1/public/fanyang1/TensorLog/tensorlog/expt.py", line 59, in <lambda>
    lambda:learner.datasetPredict(trainData))
  File "/usr1/public/fanyang1/TensorLog/tensorlog/plearn.py", line 95, in datasetPredict
    predictOutputs = self.pool.map(_doPredict, miniBatches, chunksize=1)
  File "/usr/lib/python2.7/multiprocessing/pool.py", line 251, in map
    return self.map_async(func, iterable, chunksize).get()
  File "/usr/lib/python2.7/multiprocessing/pool.py", line 558, in get
    raise self._value
AssertionError: can't find matrix for affects/io
@fanyangxyz fanyangxyz changed the title Relation not in cfacts (but in program or examples) does not get a matrix in DB Relation not in cfacts (but in program and examples) does not get a matrix in DB Mar 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant