🧵 How to automatically fit Splines to your recordings - articulateinstruments/AAA-DeepLabCut-Resources GitHub Wiki
Contents of this page:
- Load the recording you want to fit a spline to.
- Open the Edit Splines dialog. To do this,
right-click on the ultrasonic display in any task window or the video display.
- Use the tabs at the top to go to the
Fit Spline
tab. - Choose
DeepLabCut
as theAutofit Method
. - Click
Go to Batch DeepLabCut Settings
.
6. [Optional] Click on Choose DeepLabCut Model / Settings
and select which DeepLabCut model you would like to use to add splines to your data.
(Click here for an image showing this)

- Use the list on the right to select which splines you want to be added to your data.
- Use the controls in the bottom-left to inform AAA which direction the tongue-tip is facing in the ultrasound image.
- To initiate the automatic spline fitting process, click
Process
.
Please note that DeepLabCut Live, which is what AAA uses, is not compatible with Nvidia cards of the 5000 series or newer (such as the RTX 5060). If you have a GPU like this you can still use DeepLabCut in AAA, it will just be slower because it will use your CPU instead.
Batch Splining lets you choose what spline(s) to add at the beginning, then it will fit splines to many recordings at once according to those settings.
- Load one of the recordings that you want to fit a spline to. It doesn't matter which one.
- Open the Edit Splines dialog. To do this,
right-click on the ultrasonic display in any task window or the video display.
- Use the tabs at the top to go to the
Fit Spline
tab. - Choose
DeepLabCut
as theAutofit Method
. - At the top of the dialog click the
Batch
tab and then click theChoose Recordings
sub-tab.
- Click the
Recordings
orAnnotations
button to choose whether you want to fit splines to entire recordings or only to annotated regions of recordings. - Click the
Change Filter
button and select which recordings or annotations you want to fit splines to.
When you save the filter, you will see a list of your selected recordings or annotations. Please check that it looks correct. - Click on the
Process Batch
sub-tab.
Check that the specification at the top confirms:
- You are using the DeepLabCut method.
- You are using the Tongue model if ultrasonic or Lip model if lip video.
- It is set to spline every ultrasound frame.
6. [Optional] Click on Choose DeepLabCut Model / Settings
and select which DeepLabCut model you would like to use to add splines to your data.
(Click here for an image showing this)

- Use the list on the right to select which splines you want to be added to your data.
- Use the controls in the bottom-left to inform AAA which direction the tongue-tip is facing in the ultrasound image.
- To initiate the automatic spline fitting process, click
Process
.