Skip to content

Instantly share code, notes, and snippets.

@zaidbhat1234
Last active July 15, 2021 03:39
Show Gist options
  • Save zaidbhat1234/5969301127a1c335acc747cac3a08859 to your computer and use it in GitHub Desktop.
Save zaidbhat1234/5969301127a1c335acc747cac3a08859 to your computer and use it in GitHub Desktop.
Train Model
from autovideo import fit
import torch
# Fit
_, fitted_pipeline = fit(train_dataset=train_dataset,
train_media_dir=train_media_dir,
target_index=target_index,
pipeline=pipeline)
# Save the fitted pipeline
torch.save(fitted_pipeline, 'fitted_pipeline')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment