Deeplabcut Live for Multi-Animal
@C-Achard ya está trabajando en esto.
Desde el 3/2/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
I have used Deeplabcut GUI to train a model for poses of two rats, which includes three multi-animal-bodyparts and two unique-bodyparts. The model was tested in Deeplab GUI through a video and the result shows that all the 8 points could be dotted.
The main purpose of us is for real-time application, so we find Deeplabcut-Live for next step. We import the model through python code:
deeplabcut.export_model(config_path, shuffle=1, make_tar=False)
Then a new folder named exported-models was created, which included a configuration file pose_cfg.yaml and other model files. Finally, I used deeplabcut-live to process a test video in real time, code:
import cv2
from dlclive import DLCLive, Processor
import time
model_path = r"C:\Users\XHB\Desktop\Multi_Rat-HB-2025-07-31\exported-models\DLC_Multi_Rat_resnet_50_iteration-0_shuffle-1"
dlc_proc = Processor()
dlc_live = DLCLive(model_path, processor=dlc_proc)
cap = cv2.VideoCapture("2rat2.avi")
ret, frame = cap.read()
dlc_live.init_inference(frame)
while True:
if not ret:
break
pose = dlc_live.get_pose(frame)
time_end = time.time()
for x, y, p in pose:
if p > 0.5:
cv2.circle(frame, (int(x), int(y)), 5, (0, 255, 0), -1)
cv2.imshow("DLC Live", frame)
if cv2.waitKey(1) & 0xFF == ord('q'):
break
cap.release()
The result shows that only 5 points could be dotted, including the 3 multi-animal-bodyparts of the first rat and the 2 unique-bodyparts, while the other 3 multi-animal-bodyparts of the second rat were neglected.
Thus, I wanna ask for help, how could I recognize all the 8 parts of the 2 rats.
result in Deeplabcut GUI:
result in Deeplabcut-Live:
configuration file in Deeplabcut GUI:
config.zip
configuration file in Deeplabcut GUI:
pose_cfg.zip
- Lenguaje dominante
- Python
- Estrellas
- 240
- Forks
- 57
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de DeepLabCut/DeepLabCut-live
-
DeepLabCut-live fails to run exported superanimal_humanbody model from DeepLabCutPosiblemente ocupada @deruyter92 la tomó hace 222 días. Abiertobug DLC 3.0 🔥
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
DeepLabCut/DeepLabCut-live#137 · 1 comentario ·
-
[meta] docsQuizá libre de nuevo @C-Achard la tomó hace 237 días y no hay ningún pull request abierto. Abiertodocumentation
DeepLabCut/DeepLabCut-live#78 · 2 comentarios · 1 reacción · 2 asignados ·
Todos los issues de DeepLabCut/DeepLabCut-live
Issues similares
-
ACK_WAITING HELP_WANTED UPDATE_CS
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
OWASP/CheatSheetSeries#2458 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
BasedHardware/omi#19711 ·
Los mantenedores suelen responder en 1 día
-
Qwen3_5MoeModel no longer returns router_logits, breaking aux loss with output_router_logits=TrueAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
huggingface/transformers#49172 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
vllm-project/vllm-metal#885 ·
Los mantenedores suelen responder en 1 día