69fa0396c4b1366ef83f3225bf38d7296a77a162
reazonspeech/ReazonSpeech\343\201\256\343\202\244\343\203\263\343\202\271\343\203\210\343\203\274\343\203\253\346\226\271\346\263\225.md
... | ... | @@ -29,8 +29,17 @@ from huggingface_hub import HfApi, HfFolder, ModelFilter, hf_hub_download |
29 | 29 | ImportError: cannot import name 'ModelFilter' from 'huggingface_hub' (/Users/[省略]/.venv/lib/python3.11/site-packages/huggingface_hub/__init__.py) |
30 | 30 | ``` |
31 | 31 | |
32 | +numpyも2.0.0以下である必要がある。 |
|
33 | +``` |
|
34 | + File "/usr/local/reazonspeech/.venv/lib/python3.10/site-packages/nemo/collections/asr/parts/preprocessing/segment.py", line 168, in _convert_samples_to_float32 |
|
35 | + if samples.dtype in np.sctypes['int']: |
|
36 | + File "/usr/local/reazonspeech/.venv/lib/python3.10/site-packages/numpy/__init__.py", line 397, in __getattr__ |
|
37 | + raise AttributeError( |
|
38 | +AttributeError: `np.sctypes` was removed in the NumPy 2.0 release. Access dtypes explicitly instead.. Did you mean: 'dtypes'? |
|
39 | +``` |
|
40 | + |
|
32 | 41 | ```bash |
33 | -$ pip install huggingface-hub==0.23.0 |
|
42 | +$ pip install pip install transformers==4.33.3 huggingface-hub==0.23.0 numpy<2.0.0 |
|
34 | 43 | ``` |
35 | 44 | |
36 | 45 | 実行は親ディレクトリに移動する必要がある。 |