PaddlePaddle / PaddleDetection

Object Detection toolkit based on PaddlePaddle. It supports object detection, instance segmentation, multiple object tracking and real-time multi-person keypoint detection.
Apache License 2.0
12.6k stars 2.86k forks source link

How to get BotSort to work in Google Colab #8055

Open M-Colley opened 1 year ago

M-Colley commented 1 year ago

问题确认 Search before asking

请提出你的问题 Please ask your question

Hey there, I try to make PaddleDetection, and more specifically, BotSort, work in Google Colab.

Here is my current approach ( I followed the tutorials):

https://colab.research.google.com/drive/19X3rlaa4dPy9kznzQH3bHDK9LImLNH7b?usp=sharing

However, I get a segmentation fault at the end. Do you know what could cause this?

Additionally, Paddepaddle seems to require some version of protobufbut leads to dependency issues.

Finally, with the update to Python 3.9, there seem to be some depreciations:

/usr/local/lib/python3.9/dist-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`.
Pascal-Jansen commented 1 year ago

I ran into the same issues when trying to make it work in Colab.

I would greatly appreciate any solutions regarding the question of @M-Colley