Closed Yang-Xijie closed 2 years ago
Upgrading numpy
to 1.20.3
will solve this problem.
Check https://stackoverflow.com/questions/66060487/valueerror-numpy-ndarray-size-changed-may-indicate-binary-incompatibility-exp for more info.
Besides,
/Users/yangxijie/opt/miniconda3/envs/svoicetry/lib/python3.7/site-packages/hydra/core/utils.py:143: UserWarning: register_resolver() is deprecated.
See https://github.com/omry/omegaconf/issues/426 for migration instructions.
use omegaconf==2.0.6
instead (add it to requirements.txt
).
After installation and generating json files for the toy dataset, I got
ValueError: numpy.ndarray size changed
. Any hint will be helpful!Platform: macOS 12.0.1
The full operations are shown as follows:
Installation
conda create -n svoicetry python=3.7 conda activate svoicetry pip install torch==1.6.0+cu101 torchvision==0.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html
got an error here
pip install torch==1.6.0 torchvision==0.7.0 -f https://download.pytorch.org/whl/torch_stable.html
removed
+cu101on macOS, successfully
pip install -r requirements.txtUsage
https://github.com/facebookresearch/svoice#usage
Quick Start with Toy Example
Run ./make_debug.sh to generate json files for the toy dataset. Run python train.py Notice, we already provided the yaml file for it. Can be found under conf/dset/debug.yaml.