Fix bug dataset and metadataset fixes DeepLabCut/DeepLabCut#2390 by Tetra-quark · Pull Request #2405 · DeepLabCut/DeepLabCut
and others added 4 commits
September 22, 2023 11:07- Remove unsued dataset path. - Fix getting metadataset. Now obtained from config rather than auxiliary function. - Suppress unused return values from load_metadataset. - Move load_metadata to where it is explicitly needed.
- Get metadataset file path from config rather than auxiliary function. - Use return_train_network_path function to get train/test pose_cfg paths - Move load_metadata to after try-catch block.
- Get metadataset file path from config rather than auxiliary function. - Suppress redefined TrainFraction from load_metadata function. - Use return_train_network_path function to get train/test pose_cfg paths - Move load_metadata to after try-catch block. - Fix minor naming/formatting issues
Tetra-quark
changed the title
Fix bug dataset and metadataset fixes #2390
Fix bug dataset and metadataset fixes DeepLabCut/DeepLabCut#2390
- Fix handling of trainingsetindex="all" - Replace Try/Except on test/pose_cfg with check if modelfolder exists so it covers both train and test pose_cfgs. - Add TODO related to FileNotFoundError - Minor Refactoring
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters