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

joblib exception #11

Open
dclanmaster opened this issue Jan 3, 2020 · 0 comments
Open

joblib exception #11

dclanmaster opened this issue Jan 3, 2020 · 0 comments

Comments

@dclanmaster
Copy link

Embedding runs very good. However, joblib went wrong when computing test data set.
Trackback looks as following:

joblib.externals.loky.process_executor._RemoteTraceback: 
"""
Traceback (most recent call last):
  File "/home/zwc/knowledge_graph/entity2rec/venv/lib/python3.5/site-packages/joblib/externals/loky/process_executor.py", line 344, in _sendback_result
    exception=exception))
  File "/home/zwc/knowledge_graph/entity2rec/venv/lib/python3.5/site-packages/joblib/externals/loky/backend/queues.py", line 240, in put
    self._writer.send_bytes(obj)
  File "/usr/lib/python3.5/multiprocessing/connection.py", line 200, in send_bytes
    self._send_bytes(m[offset:offset + size])
  File "/usr/lib/python3.5/multiprocessing/connection.py", line 393, in _send_bytes
    header = struct.pack("!i", n)
struct.error: 'i' format requires -2147483648 <= number <= 2147483647
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "entity2rec/main.py", line 60, in <module>
    n_jobs=args.workers, max_n_feedback=args.max_n_feedback)
  File "/home/zwc/knowledge_graph/entity2rec/entity2rec/evaluator.py", line 229, in features
    users_list_chunks, n_jobs, users_list)
  File "/home/zwc/knowledge_graph/entity2rec/entity2rec/evaluator.py", line 276, in _compute_features_parallel
    for users_list in users_list_chunks)
  File "/home/zwc/knowledge_graph/entity2rec/venv/lib/python3.5/site-packages/joblib/parallel.py", line 1017, in __call__
    self.retrieve()
  File "/home/zwc/knowledge_graph/entity2rec/venv/lib/python3.5/site-packages/joblib/parallel.py", line 909, in retrieve
    self._output.extend(job.get(timeout=self.timeout))
  File "/home/zwc/knowledge_graph/entity2rec/venv/lib/python3.5/site-packages/joblib/_parallel_backends.py", line 562, in wrap_future_result
    return future.result(timeout=timeout)
  File "/usr/lib/python3.5/concurrent/futures/_base.py", line 405, in result
    return self.__get_result()
  File "/usr/lib/python3.5/concurrent/futures/_base.py", line 357, in __get_result
    raise self._exception
struct.error: 'i' format requires -2147483648 <= number <= 2147483647
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