Cropping feature in DLC 3.0.0rc6

Is there an existing issue for this?

  • I have searched the existing issues

Bug description

I am currently using DeepLabCut 3.0.0rc6, but the video cropping feature fails to work when analyzing new videos. This feature was functional before upgrading to latest DLC (referencing issue #2737 ). I have tried using both the GUI and code, but neither worked.

Operating System

Windows 11 Pro

DeepLabCut version

Dlc 3.0.0rc6

DeepLabCut mode

single animal

Device type

RTX 4060

Steps To Reproduce

import deeplabcut

config_path = ""

videos = [
"E:/Video storage/87/87_pupil_day10.mp4"]
deeplabcut.analyze_videos(
config_path,
videos,
shuffle =4,
cropping = [24,357,18,317],
save_as_csv=True)

Relevant log output

Loading DLC 3.0.0rc6...
Analyzing videos with E:\Deeplabcut\projects\CSA_pupil_resnet50-Jiachen-2024-09-11\dlc-models-pytorch\iteration-0\CSA_pupil_resnet50Sep11-trainset95shuffle4\train\snapshot-300.pt
Starting to analyze E:\Video storage\87\87_pupil_day10.mp4
Video metadata: 
  Overall # of frames:    217035
  Duration of video [s]:  7232.09
  fps:                    30.01
  resolution:             w=1600, h=1600

Running pose prediction with batch size 8
100%|██████████| 217035/217035 [26:07:31<00:00,  2.31it/s]

Anything else?

Image

Image

Code of Conduct