Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Fixes for Wav2Vec example (#609)
Browse files Browse the repository at this point in the history
* Fixes to the example

* Revert paths
  • Loading branch information
Sean Naren authored Jul 21, 2021
1 parent 08b56dd commit 0f6bb7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flash_examples/speech_recognition.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
model = SpeechRecognition(backbone="facebook/wav2vec2-base-960h")

# 3. Create the trainer and finetune the model
trainer = flash.Trainer(max_epochs=1, limit_train_batches=1, limit_test_batches=1)
trainer = flash.Trainer(max_epochs=1)
trainer.finetune(model, datamodule=datamodule, strategy='no_freeze')

# 4. Predict on audio files!
Expand Down

0 comments on commit 0f6bb7e

Please sign in to comment.