Skip to content

Analyse videos not working on Go Pro video #1996

@Emily961

Description

@Emily961

Is there an existing issue for this?

  • I have searched the existing issues

Bug description

When I try to analyse a new video and it comes from my GoPro 9 (copied from the camera into the correct folder) the programme goes through the analyse step and then displays "no filtered file found" and no plots etc. This does not happen with other videos from my android phone in the exact same folders. I have tried adding them to the project and that works so its not that they can't be found, I have even used footage from it in labelling, so I am not sure why it doesn't work for analysis? The videos are not long (29 seconds- 23.98 fps) as I am just testing it at the moment, they are .mp4 files, and I am using the GUI as I am new to computer coding

Operating System

Windows 10 Pro, 32GB RAM, 8GPU

DeepLabCut version

dlc version 2.2.1.1

DeepLabCut mode

single animal

Device type

gpu

Steps To Reproduce

No response

Relevant log output

Duration of video [s]:  29.45 , recorded with  23.98 fps!
Overall # of frames:  706  found with (before cropping) frame dimensions:  1080 1920
Starting to extract posture
 99%|███████████████████████████████████████████████████████████████████████████████▎| 700/706 [06:59<00:03,  1.67it/s]
The videos are analyzed. Now your research can truly start!
 You can create labeled videos with 'create_labeled_video'
If the tracking is not satisfactory for some videos, consider expanding the training set. You can use the function 'extract_outlier_frames' to extract a few representative outlier frames.
Filtering with median model C:\Users\emily\Desktop\Deeplab\Horse_blinking-Emily-2022-08-06\videos\GX010040.MP4
No unfiltered data file found in C:\Users\emily\Desktop\Deeplab\Horse_blinking-Emily-2022-08-06\videos for video GX010040 and scorer DLC_resnet50_Horse_blinkingAug6shuffle1_240000.
Loading  C:\Users\emily\Desktop\Deeplab\Horse_blinking-Emily-2022-08-06\videos\GX010040.MP4 and data.
No filtered data file found in C:\Users\emily\Desktop\Deeplab\Horse_blinking-Emily-2022-08-06\videos for video GX010040 and scorer DLC_resnet50_Horse_blinkingAug6shuffle1_240000.
Traceback (most recent call last):
  File "C:\Users\emily\anaconda3\envs\dlc_dml3\lib\site-packages\deeplabcut\utils\plotting.py", line 288, in plot_trajectories
    videofolder, vname, DLCscorer, filtered, track_method
  File "C:\Users\emily\anaconda3\envs\dlc_dml3\lib\site-packages\deeplabcut\utils\auxiliaryfunctions.py", line 769, in load_analyzed_data
    folder, videoname, scorer, filtered, track_method
  File "C:\Users\emily\anaconda3\envs\dlc_dml3\lib\site-packages\deeplabcut\utils\auxiliaryfunctions.py", line 754, in find_analyzed_data
    raise FileNotFoundError(msg)
FileNotFoundError: No filtered data file found in C:\Users\emily\Desktop\Deeplab\Horse_blinking-Emily-2022-08-06\videos for video GX010040 and scorer DLC_resnet50_Horse_blinkingAug6shuffle1_240000.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\emily\anaconda3\envs\dlc_dml3\lib\site-packages\deeplabcut\gui\analyze_videos.py", line 570, in analyze_videos
    showfigures=showfig,
  File "C:\Users\emily\anaconda3\envs\dlc_dml3\lib\site-packages\deeplabcut\utils\plotting.py", line 322, in plot_trajectories
    video, DLCscorer, track_method
  File "C:\Users\emily\anaconda3\envs\dlc_dml3\lib\site-packages\deeplabcut\utils\auxiliaryfunctions.py", line 785, in load_detection_data
    raise ValueError(f"Unrecognized track_method={track_method}")
ValueError: Unrecognized track_method=

Anything else?

No response

Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions