Visitar URL original
Update (or remove) command line interface · Issue #3381 · DeepLabCut/DeepLabCut · GitHub
Skip to content

Update (or remove) command line interface #3381

Description

@deruyter92

Summary

deeplabcut/cli.py is currently stale/unmaintained/outdated and not integrated with the PyTorch-first API. The Click-based CLI exposes workflow commands (create_new_project, extract_frames, train_network, analyze_videos, etc.) that currently bypass deeplabcut.compat and call pose_estimation_tensorflow directly, so they do not follow engine selection used by the public API.

In addition:

  • cli.py is not really documented or tested
  • click is not declared in pyproject.toml dependencies
  • version banner prints deeplabcut v0.0., and --verbose is unused

Proposed direction

  • As our documentation primarily mentions the python API and GUI as entry points, we should consider removing cli.py. It is currently not functional and can lead to confusion.
  • We could decide (e.g. after dropping TensorFlow) to create a new command line interface that matches the PyTorch API. This does not necessarily have to use Click - there are good alternatives (e.g. Typer).

Activity

  1. added theissue type on Jun 24, 2026
  2. self-assigned this
    on Jun 24, 2026
  3. C-Achard commented on Jun 24, 2026

    @C-Achard
    Member

    I think this came up before, let's check how we can cleanly handle this. (I would assume that as long as this is clearly part of TF deprecation, it would be fine)

  4. linked a pull request that will close this issueUpdate command line interface #3456on Sep 17, 2026
  5. MMathisLab commented on Nov 3, 2026

    @MMathisLab
    Member

    done, I think?

  6. C-Achard commented on Nov 5, 2026

    @C-Achard
    Member

    @deruyter92 has an upgrade planned in #3456 which isn't merged yet

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

Metadata

Metadata

Assignees

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions