### Clone DeepLabCut for Speech Production Repository Source: https://github.com/articulateinstruments/deeplabcut-for-speech-production/blob/main/README.md This command downloads the entire project repository from GitHub, including pre-trained models and data, allowing users to set up the project locally. It requires Git to be installed on the system. ```Bash git clone https://github.com/articulateinstruments/DeepLabCut-for-Speech-Production.git ``` -------------------------------- ### Rename DeepLabCut Model, Authors, or Video Files Source: https://github.com/articulateinstruments/deeplabcut-for-speech-production/blob/main/INSTRUCTIONS.md This guide provides instructions for renaming various components of a DeepLabCut model, including the model name itself, authors, or individual video files. It emphasizes the necessity of using a folder-wide find/replace tool to ensure all instances and file names are updated correctly. ```User Guide 1. Replace all instances of the old model name with the desired new one within all files within all folders for the model (do NOT use whole-word matching in your find/replace). 2. Replace all instances of the old model name with the desired new one for all file-names with all folders for the model. 3. (Optional) Repeat this process for the author name(s) if you wish. 4. (Optional) Repeat this process for each individual video file if you wish to rename any. ``` -------------------------------- ### Define Speech Production Body Parts for Tracking in DeepLabCut config.yaml Source: https://github.com/articulateinstruments/deeplabcut-for-speech-production/blob/main/INSTRUCTIONS.md This example provides a specific list of `bodyparts` tailored for speech production analysis within the `config.yaml` file. It includes common anatomical landmarks like the tongue, hyoid, and mandible, which are crucial for tracking articulatory movements. This list can be customized further for specific research needs. ```YAML bodyparts: - vallecula - tongueRoot - tongueBody - tongueDorsum - tongueBlade - tongueTip - hyoid - mandible - shortTendon ``` -------------------------------- ### Convert 2D Spline to Fan Spline in AAA Project Source: https://github.com/articulateinstruments/deeplabcut-for-speech-production/blob/main/INSTRUCTIONS.md This guide explains the process and implications of converting 2D splines (automatically loaded from DLC) to fan splines within the AAA project. Be aware that converting from 2D to fan splines can lead to data loss if the spline crosses vertically over itself. ```User Guide 1. Right-click on the ultrasound display. 2. Click `Edit Splines...`. 3. Select the spline you wish to convert using the tabs at the bottom of the window. 4. Under the heading `Convert to 2D Spline` click `Convert`. ``` -------------------------------- ### Define Generic Body Parts for Tracking in DeepLabCut config.yaml Source: https://github.com/articulateinstruments/deeplabcut-for-speech-production/blob/main/INSTRUCTIONS.md This configuration block illustrates how to define `bodyparts` in the `config.yaml` file. These are the specific points or structures on your target object(s) that DeepLabCut will track, such as anatomical landmarks. Users must edit this list to match their project's requirements. ```YAML bodyparts: - bodypart1 - bodypart2 - bodypart3 - objectA ``` -------------------------------- ### Configure DeepLabCut Training Data Split in config.yaml Source: https://github.com/articulateinstruments/deeplabcut-for-speech-production/blob/main/INSTRUCTIONS.md This snippet shows how to adjust the `TrainingFraction` in the `config.yaml` file. This value determines the percentage of extracted frames used for training, with the remainder reserved for testing the trained network's performance. The default is 0.95, meaning 95% for training and 5% for testing. ```YAML TrainingFraction: - 0.95 ``` -------------------------------- ### DeepLabCut: Disabling Configuration Entries in config.yaml Source: https://github.com/articulateinstruments/deeplabcut-for-speech-production/blob/main/INSTRUCTIONS.md To temporarily disable specific entries like video paths or crop settings in the DeepLabCut project configuration, prefix the line with a '#' symbol in the `config.yaml` file. This is essential when adding new videos to isolate processing to the new data, or to re-enable them later for full dataset training. ```YAML video_sets: C:\DeepLabCut-for-Speech-Production\REPO\Lips\videos\002_cal.avi # C:\DeepLabCut-for-Speech-Production\REPO\Lips\videos\002_cal.avi crop: 0, 320, 0, 240 # crop: 0, 320, 0, 240 ``` -------------------------------- ### Define Visual Skeleton Connections for Body Parts in DeepLabCut config.yaml Source: https://github.com/articulateinstruments/deeplabcut-for-speech-production/blob/main/INSTRUCTIONS.md This snippet demonstrates how to define a `skeleton` in the `config.yaml` file to visually connect defined body parts with straight lines. This feature is useful for visualizing contours, such as a tongue outline, and helps in assessing tracking accuracy. The order of connected body parts does not matter as lines are undirected. ```YAML skeleton: - - bodypart1 - bodypart2 - - objectA - bodypart3 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.