facebookresearch / vocoder-benchmark

A repository for benchmarking neural vocoders by their quality and speed.
Other
199 stars 27 forks source link

Error after installation: IndentationError: unexpected indent #13

Open tatujan opened 1 year ago

tatujan commented 1 year ago

I am getting an indentation error after creating a conda environment with Python 3.7.16 and installing using pip install -e . which is weird. Also, instructions on README.md does not match. After the installation, there is no directory named bin/ under the working directory. I have fixed that according to where the vocoder bash script is.

conda version: conda 23.5.0

Python version: 3.7.16

Installed packages in env:

Name Version Build Channel

_libgcc_mutex 0.1 main
_openmp_mutex 5.1 1_gnu
absl-py 1.4.0 pypi_0 pypi antlr4-python3-runtime 4.9.3 pypi_0 pypi appdirs 1.4.4 pypi_0 pypi astroid 2.15.6 pypi_0 pypi audioread 3.0.0 pypi_0 pypi ca-certificates 2023.05.30 h06a4308_0
cachetools 5.3.1 pypi_0 pypi certifi 2022.12.7 py37h06a4308_0
cffi 1.15.1 pypi_0 pypi charset-normalizer 3.2.0 pypi_0 pypi click 8.1.6 pypi_0 pypi dataclasses-json 0.5.12 pypi_0 pypi decorator 5.1.1 pypi_0 pypi dill 0.3.6 pypi_0 pypi google-auth 2.22.0 pypi_0 pypi google-auth-oauthlib 0.4.6 pypi_0 pypi grpcio 1.56.0 pypi_0 pypi idna 3.4 pypi_0 pypi importlib-metadata 6.7.0 pypi_0 pypi intervaltree 3.1.0 pypi_0 pypi isort 5.11.5 pypi_0 pypi joblib 1.3.1 pypi_0 pypi lazy-loader 0.3 pypi_0 pypi lazy-object-proxy 1.9.0 pypi_0 pypi ld_impl_linux-64 2.38 h1181459_1
libcst 1.0.1 pypi_0 pypi libffi 3.4.4 h6a678d5_0
libgcc-ng 11.2.0 h1234567_1
libgomp 11.2.0 h1234567_1
librosa 0.10.0.post2 pypi_0 pypi libstdcxx-ng 11.2.0 h1234567_1
llvmlite 0.39.1 pypi_0 pypi markdown 3.4.3 pypi_0 pypi markupsafe 2.1.3 pypi_0 pypi marshmallow 3.19.0 pypi_0 pypi mccabe 0.7.0 pypi_0 pypi msgpack 1.0.5 pypi_0 pypi mypy-extensions 1.0.0 pypi_0 pypi ncurses 6.4 h6a678d5_0
numba 0.56.4 pypi_0 pypi numpy 1.21.6 pypi_0 pypi oauthlib 3.2.2 pypi_0 pypi omegaconf 2.3.0 pypi_0 pypi openssl 1.1.1u h7f8727e_0
packaging 23.1 pypi_0 pypi pip 22.3.1 py37h06a4308_0
platformdirs 3.9.1 pypi_0 pypi pooch 1.6.0 pypi_0 pypi protobuf 3.20.3 pypi_0 pypi psutil 5.9.5 pypi_0 pypi pthflops 0.4.2 pypi_0 pypi pyasn1 0.5.0 pypi_0 pypi pyasn1-modules 0.3.0 pypi_0 pypi pycparser 2.21 pypi_0 pypi pygments 2.15.1 pypi_0 pypi pylint 2.17.4 pypi_0 pypi pyre-check 0.9.18 pypi_0 pypi pyre-extensions 0.0.30 pypi_0 pypi python 3.7.16 h7a1cb2a_0
pytorch-msssim 1.0.0 pypi_0 pypi pyyaml 6.0.1 pypi_0 pypi readline 8.2 h5eee18b_0
requests 2.31.0 pypi_0 pypi requests-oauthlib 1.3.1 pypi_0 pypi rsa 4.9 pypi_0 pypi scikit-learn 1.0.2 pypi_0 pypi scipy 1.7.3 pypi_0 pypi setuptools 65.6.3 py37h06a4308_0
six 1.16.0 pypi_0 pypi sortedcontainers 2.4.0 pypi_0 pypi soundfile 0.12.1 pypi_0 pypi soxr 0.3.5 pypi_0 pypi sqlite 3.41.2 h5eee18b_0
tabulate 0.9.0 pypi_0 pypi tensorboard 2.11.2 pypi_0 pypi tensorboard-data-server 0.6.1 pypi_0 pypi tensorboard-plugin-wit 1.8.1 pypi_0 pypi testslide 2.7.1 pypi_0 pypi threadpoolctl 3.1.0 pypi_0 pypi tk 8.6.12 h1ccaba5_0
tomli 2.0.1 pypi_0 pypi tomlkit 0.11.8 pypi_0 pypi torch 1.9.0 pypi_0 pypi torchaudio 0.9.0 pypi_0 pypi tqdm 4.65.0 pypi_0 pypi typed-ast 1.5.5 pypi_0 pypi typeguard 2.13.3 pypi_0 pypi typing-extensions 4.7.1 pypi_0 pypi typing-inspect 0.9.0 pypi_0 pypi urllib3 1.26.16 pypi_0 pypi vocoder-benchmark 0.1 dev_0 werkzeug 2.2.3 pypi_0 pypi wheel 0.38.4 py37h06a4308_0
wrapt 1.15.0 pypi_0 pypi xz 5.4.2 h5eee18b_0
zipp 3.15.0 pypi_0 pypi zlib 1.2.13 h5eee18b_0

tatujan commented 1 year ago

I realized there are duplicate lines with syntax errors. I am guessing the last merge created these issues. I have fixed them. And it seems to work now. I'll try to create a PR for it.