Skip to content

hardcode bug on analyze_videos() for overwrite arg #3513

Closed

Description

@anthonyattacks

Is there an existing issue for this?

  • I have searched the existing issues

Operating System

ubuntu 24.04 desktop

DeepLabCut version

deeplabcut 3.0.0rc14 pypi_0 pypi
napari-deeplabcut 0.3.1.1 pypi_0 pypi

What engine are you using?

pytorch

DeepLabCut mode

multi animal

Device type

GeForce RTX 4070 Ti; cuda version 13.2, driver 595.84; 13th Gen Intel(R) Core(TM) i9-13900K

Bug description 🐛

Bug: deeplabcut.pose_estimation_pytorch.apis.videos.analyze_videos() got multiple values for keyword argument overwrite.

Fairly straightforward. Function call:

    deeplabcut.analyze_videos(
        configFile,
        testVideo,
        auto_track = False,
        use_shelve = False, # had corrupted frames, issue with .h5 gen
        overwrite = True
        )

manual setting of overwrite arg ---> bug. overwrite = False is hardcoded in the function definition and, thus, can't be specified as a kwarg

Steps To Reproduce

attempt to analyze the same video with overwrite = True

Relevant log output

deeplabcut.pose_estimation_pytorch.apis.videos.analyze_videos() got multiple values for keyword argument overwrite.

Anything else?

No response

Code of Conduct

Activity

  1. added theissue type on Sep 14, 2026
  2. added
    bug
    on Sep 14, 2026
  3. C-Achard commented on Sep 14, 2026

    @C-Achard
    Member

    Hello @anthonyattacks,

    Thanks again, this is exactly as you describe and is now being fixed in #3514.

    Best,
    Cyril

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

Metadata

Metadata

Assignees

Labels

bugpytorch

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions