Skip to content

Instantly share code, notes, and snippets.

@mrocklin
Created February 21, 2017 15:24
Show Gist options
  • Star 15 You must be signed in to star a gist
  • Fork 7 You must be signed in to fork a gist
  • Save mrocklin/3696fe2398dc7152c66bf593a674e4d9 to your computer and use it in GitHub Desktop.
Save mrocklin/3696fe2398dc7152c66bf593a674e4d9 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mrocklin
Copy link
Author

@swordspoet
Copy link

swordspoet commented Jul 4, 2018

Traceback (most recent call last):
  File "dask_xgb.py", line 79, in <module>
    train_model(data_train, labels_train)
  File "dask_xgb.py", line 67, in train_model
    bst = dxgb.train(client, params, data_train, labels_train)
  File "/usr/lib/python2.7/site-packages/dask_xgboost/core.py", line 169, in train
    labels, dmatrix_kwargs, **kwargs)
  File "/usr/lib/python2.7/site-packages/distributed/utils.py", line 253, in sync
    six.reraise(*error[0])
  File "/usr/lib/python2.7/site-packages/distributed/utils.py", line 238, in f
    result[0] = yield make_coro()
  File "/usr/lib/python2.7/site-packages/tornado/gen.py", line 1099, in run
    value = future.result()
  File "/usr/lib/python2.7/site-packages/tornado/concurrent.py", line 260, in result
    raise_exc_info(self._exc_info)
  File "/usr/lib/python2.7/site-packages/tornado/gen.py", line 1107, in run
    yielded = self.gen.throw(*exc_info)
  File "/usr/lib/python2.7/site-packages/dask_xgboost/core.py", line 134, in _train
    results = yield client._gather(futures)
  File "/usr/lib/python2.7/site-packages/tornado/gen.py", line 1099, in run
    value = future.result()
  File "/usr/lib/python2.7/site-packages/tornado/concurrent.py", line 260, in result
    raise_exc_info(self._exc_info)
  File "/usr/lib/python2.7/site-packages/tornado/gen.py", line 1107, in run
    yielded = self.gen.throw(*exc_info)
  File "/usr/lib/python2.7/site-packages/distributed/client.py", line 1385, in _gather
    traceback)
  File "/usr/lib/python2.7/site-packages/distributed/protocol/pickle.py", line 59, in loads
    return pickle.loads(x)
ImportError: No module named dask_xgboost.core

Is there any module named dask_xgboost.core? I have not find it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment