-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
C:\vosk-recasepunc-en-0.22>python3 example.py vosk-adapted.txt
Traceback (most recent call last):
File "C:\vosk-recasepunc-en-0.22\example.py", line 10, in
predictor = CasePuncPredictor('checkpoint', lang="en")
File "C:\vosk-recasepunc-en-0.22\recasepunc.py", line 282, in init
self.model.load_state_dict(loaded['model_state_dict'])
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\home\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\torch\nn\modules\module.py", line 2624, in load_state_dict
raise RuntimeError(
...<3 lines>...
)
RuntimeError: Error(s) in loading state_dict for Model:
Unexpected key(s) in state_dict: "bert.embeddings.position_ids".
win10
Python.3.13