-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Hi, I applied new data to the existing model, but the results shows more syllables than the previous fitting. My code is:
model = kpms.load_checkpoint(project_dir, model_name)[0]
pca = kpms.load_pca(project_dir)
# load new data (e.g. from deeplabcut)
new_data = new_data # can be a file, a directory, or a list of files
coordinates, confidences, bodyparts = kpms.load_keypoints(new_data, 'deeplabcut')
data, metadata = kpms.format_data(coordinates, confidences, **config())
# apply saved model to new data
#results = kpms.apply_model(model, pca, data, metadata, project_dir, model_name)
results = kpms.apply_model(model, data, metadata, project_dir, model_name, **config())
# Save results
kpms.save_results_as_csv(results, project_dir, model_name)
Metadata
Metadata
Assignees
Labels
No labels