wanchichen
commited on
Commit
•
3971da4
1
Parent(s):
56e4021
Update README.md
Browse files
README.md
CHANGED
@@ -4090,8 +4090,8 @@ import soundfile as sf
|
|
4090 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
4091 |
|
4092 |
xeus_model, xeus_train_args = SSLTask.build_model_from_file(
|
4093 |
-
|
4094 |
-
|
4095 |
device,
|
4096 |
)
|
4097 |
|
|
|
4090 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
4091 |
|
4092 |
xeus_model, xeus_train_args = SSLTask.build_model_from_file(
|
4093 |
+
None,
|
4094 |
+
'/path/to/checkpoint/here/checkpoint.pth',
|
4095 |
device,
|
4096 |
)
|
4097 |
|