-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues
Bug description
I'm currently testing DLC on our HPC and noticed a strange behavior between add_new_videos(extract_frames=True) and extract_frames().
When I try to extract frames via add_new_videos(extract_frames=True) I always get Frame extraction failed. Video files must be corrupted. but extract_frames() still works.
Switching between copy_videos=False and copy_videos=True has no effect.
Operating System
Operating System: Red Hat Enterprise Linux 8.6 (Ootpa)
CPE OS Name: cpe:/o:redhat:enterprise_linux:8::baseos
Kernel: Linux 4.18.0-372.26.1.el8_6.x86_64
DeepLabCut version
2.3.8
DeepLabCut mode
single animal
Device type
gpu
Steps To Reproduce
This causes the error:
import deeplabcut
config_file_path = '/gpfs/projects/acad/behavior/DLC_model/primary_DeepLabCut_model/LassanceLab-main-model-2023-09-14/config.yaml'
video_file_path = ["/gpfs/projects/acad/behavior/videos/2023-11-13_conspecific_odor_videos/2023-09-15_test videos/cluster_test_vid.mp4"]
VideoType = 'mp4'
deeplabcut.add_new_videos(
config_file_path,
video_file_path,
copy_videos=False,
coords=None,
extract_frames=True,
)
If you now run deeplabcut.extract_frames(config_file_path, mode='automatic', algo='kmeans', userfeedback=False, crop=False) the extraction suddently works.
Relevant log output
No response
Anything else?
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working