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 Tetra-quark changed the title Fix bug dataset and metadataset fixes #2390 Fix bug dataset and metadataset fixes DeepLabCut/DeepLabCut#2390

Oct 5, 2023

@Tetra-quark

…up unused lines in evaluate.py

@Tetra-quark

@Tetra-quark

@Tetra-quark

- 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
- 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

jeylau

@Tetra-quark

- Load config and metadata outside nested loop.

n-poulsen

@Tetra-quark

@Tetra-quark