Skip to content

Cannot build a skeleton #3257

Description

@Gviolin

Is there an existing issue for this?

  • I have searched the existing issues

Operating System

Windows 11 Pro Version 25H2

DeepLabCut version

DLC 3.0.0rc13

What engine are you using?

pytorch

DeepLabCut mode

single animal

Device type

GeForce GTX 1650

Bug description 🐛

I'm not very tech-savvy, so I apologize in advance for any obvious mistakes.
After labeling the frames extracted from the videos, I tried creating a skeleton through the GUI, but then an error appears.
Don't know if it helps, but my pandas version is 3.0, and python is 3.12.

What should I do to correct this?

Thank you in advance.

Steps To Reproduce

No response

Relevant log output

Traceback (most recent call last):
  File "C:\Users\aokilab\.conda\envs\deeplabcut\Lib\site-packages\deeplabcut\gui\tabs\label_frames.py", line 148, in build_skeleton
    SkeletonBuilder(self.root.config)
  File "C:\Users\aokilab\.conda\envs\deeplabcut\Lib\site-packages\deeplabcut\utils\skeleton.py", line 66, in __init__
    row, col = self.pick_labeled_frame()
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\aokilab\.conda\envs\deeplabcut\Lib\site-packages\deeplabcut\utils\skeleton.py", line 109, in pick_labeled_frame
    count = self.df.groupby(level="individuals", axis=1).count()
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\aokilab\.conda\envs\deeplabcut\Lib\site-packages\pandas\util\_decorators.py", line 336, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
TypeError: DataFrame.groupby() got an unexpected keyword argument 'axis'

Anything else?

No response

Code of Conduct

Metadata

Metadata

Assignees

Labels

GUIissues relating to GUIbugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions