Skip to content

Instantly share code, notes, and snippets.

@tchaton
Created May 11, 2021 11:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tchaton/685d58357241fe74c656a90798c1e0fe to your computer and use it in GitHub Desktop.
Save tchaton/685d58357241fe74c656a90798c1e0fe to your computer and use it in GitHub Desktop.
pytorchvideo_classifier
# 6. Finetune the model
trainer = flash.Trainer(
max_epochs=10,
accelerator='ddp',
gpus=2,
precision=16
)
trainer.finetune(model, datamodule=datamodule, strategy=NoFreeze())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment