Skip to content

Can not use on Google Colab or Kaggle #242

Open
@htdung167

Description

@htdung167

I install pytorch-widedeep with "!pip install pytorch-widedeep"

When it comes to training the model, the program is restarted (including Google Colab and Kaggle).

import pytorch_widedeep, i got this warning:

  • On Colab:
    /content/pytorch-widedeep/pytorch_widedeep/datasets/_base.py:49: DeprecationWarning: path is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.
    with resources.path(
    :1047: ImportWarning: _PyDrive2ImportHook.find_spec() not found; falling back to find_module()
    :1047: ImportWarning: _PyDriveImportHook.find_spec() not found; falling back to find_module()
    :1047: ImportWarning: _GenerativeAIImportHook.find_spec() not found; falling back to find_module()
    :1047: ImportWarning: _OpenCVImportHook.find_spec() not found; falling back to find_module()
    :1047: ImportWarning: APICoreClientInfoImportHook.find_spec() not found; falling back to find_module()
    :1047: ImportWarning: _BokehImportHook.find_spec() not found; falling back to find_module()
    :1047: ImportWarning: _AltairImportHook.find_spec() not found; falling back to find_module()

I tried all ways to install, train the model on CPU and GPU but still get this error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions