Code Monkey home page Code Monkey logo

Comments (2)

Ivy-yang200 avatar Ivy-yang200 commented on September 27, 2024

I changed the environment and tried to install scdeepsort-cpu version. But another error occured.

Python 3.8.10 (default, Jun 22 2022, 20:18:18)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import deepso
2022-09-20 20:02:27.975542: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Traceback (most recent call last): File "/home/yangyuan/.local/lib/python3.8/site-packages/dgl/backend/tensorflow/tensor.py", line 31, in <module> import tfdlpack ModuleNotFoundError: No module named 'tfdlpack'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/yangyuan/.local/lib/python3.8/site-packages/deepsort/__init__.py", line 1, in <module> from .predict import DeepSortPredictor
File "/home/yangyuan/.local/lib/python3.8/site-packages/deepsort/predict.py", line 1, in <module> import dgl
File "/home/yangyuan/.local/lib/python3.8/site-packages/dgl/__init__.py", line 8, in <module> from .backend import load_backend, backend_name
File "/home/yangyuan/.local/lib/python3.8/site-packages/dgl/backend/__init__.py", line 74, in <module> load_backend(get_preferred_backend())
File "/home/yangyuan/.local/lib/python3.8/site-packages/dgl/backend/__init__.py", line 23, in load_backend mod = importlib.import_module('.%s' % mod_name, __name__)
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level)
File "/home/yangyuan/.local/lib/python3.8/site-packages/dgl/backend/tensorflow/__init__.py", line 4, in <module> from .tensor import *
File "/home/yangyuan/.local/lib/python3.8/site-packages/dgl/backend/tensorflow/tensor.py", line 33, in <module> raise ImportError('Cannot find tfdlpack, which is required by the Tensorflow backend. '
ImportError: Cannot find tfdlpack, which is required by the Tensorflow backend. Please follow https://github.com/VoVAllen/tf-dlpack for installation.

What I'm confused about is that the author of tf-dlpack VoVAllen said that the project is no longer active and I cannot install it following the code.

from scdeepsort.

multitalk avatar multitalk commented on September 27, 2024

You can try python 3.7.6. By the way, please set the default backend to "pytorch" for dgl.

from scdeepsort.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.