Spaces:
Running
Running
Shikhar commited on
Commit ·
8d95846
1
Parent(s): 8ea9809
Add model_module stub for checkpoint unpickling
Browse files
src/recipe/phone_recognition/model_module.py
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Stub for checkpoint unpickling. The real class needs Lightning;
|
| 2 |
+
this minimal version lets torch.load resolve pickled references."""
|
| 3 |
+
|
| 4 |
+
import torch.nn as nn
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
def get_w2v2ph_schedule(*args, **kwargs):
|
| 8 |
+
pass
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
class PhoneRecognitionModel(nn.Module):
|
| 12 |
+
pass
|