meokz / looking-to-listen Goto Github PK
View Code? Open in Web Editor NEWDeep neural network (DNN) for noise reduction, removal of background music, and speech separation
License: MIT License
Deep neural network (DNN) for noise reduction, removal of background music, and speech separation
License: MIT License
Hi,
Is it possible to see what kind of output your model has produced?
I have implemented some other repos looking at the same issue and it seems that output doesn't seem to output audio files that are easy to understand.
Do you have a couple of inputs and the outputs that you are willing to share?
Thanks
When I entered this command 'docker-compose build', the WARNING raised
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0xgjyd6t/llvmlite/setup.py'"'"'; file='"'"'/tmp/pip-install-0xgjyd6t/llvmlite/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-s12tyn7m
cwd: /tmp/pip-install-0xgjyd6t/llvmlite/
Complete output (26 lines):
running bdist_wheel
/usr/bin/python3 /tmp/pip-install-0xgjyd6t/llvmlite/ffi/build.py
LLVM version... Traceback (most recent call last):
File "/tmp/pip-install-0xgjyd6t/llvmlite/ffi/build.py", line 106, in main_posix
out = subprocess.check_output([llvm_config, '--version'])
File "/usr/lib/python3.5/subprocess.py", line 626, in check_output
**kwargs).stdout
File "/usr/lib/python3.5/subprocess.py", line 693, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.5/subprocess.py", line 947, in init
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'llvm-config'
During handling of the above exception, another exception occurred:
ERROR: Failed building wheel for llvmlite
Is this meant I can't install llvmlite because I am WINDOWS user? However, I am using docker, something strange. If someone know how to solve this problem, please tell me.
File "/home/saumya/looking-to-listen/network/src/common/util.py", line 81, in istft_and_save
librosa.output.write_wav(path=filepath, y=signal, sr=settings.SR, norm=True)
AttributeError: module 'librosa' has no attribute 'output'
Thanks for sharing repository,
I tried following the Quick Start Demonstration
guideline.
When I ran the command: docker-compose run network python3 quick_start_audio_only.py /data/model/0f_1sclean_noise.npz /data/noise -ideep
and got the error message FileNotFoundError: [Errno 2] No such file or directory: '/data/model/0f_1sclean_noise.npz'
.
Where can I download the file 0f_1sclean_noise.npz
?
Thanks for the reply
ERROR: for looking-to-listen_network_run Cannot create container for service network: Unknown runtime specified nvidia.
Getting this error every time . Can you please help?
$ docker-compose run network python3 quick_start_audio_only.py /data/model/0f_1sclean_noise.npz /data/noise
ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
So how should I start Docker for this application?
I made a folder with folder structure looking-to-listen/data/noise where I put my noisy files and passed this to the docker-compose (ran this command from inside looking-to-listen directory "docker-compose run network python3 quick_start_audio_only.py /data/model/0f_1sclean_noise.npz /data/noise" ) but it didnt read the files.
Am i doing something wrong?
Hi,
I've just spent the last 4 hours trying to troubleshoot this error with no luck. It was originally reported in issue #7 by 3 separate users and closed with no reply. I'm running up-to-date Ubuntu 20.04LTS, Docker version 19.03.13, build 4484c46d9d & docker-compose 1.25.0. The other users reporting this error were using Windows and MacOS, so it doesn't seem to be an OS specific problem. Any hints or suggestions would be welcome. Hell, I'll even send you $50 in Bitcoin for your time, just provide your receive address. I really look forward to using it. If you are able to get it to build, kindly provide what OS and version of docker & docker-compose you are using.
Thank you.
error below:
Stored in directory: /root/.cache/pip/wheels/5c/93/0e/45057f13b26ba880ba315b4b580d52ca76151fa88aa5db6db8
Building wheel for llvmlite (setup.py): started
Building wheel for llvmlite (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-uhcar22w/llvmlite/setup.py'"'"'; file='"'"'/tmp/pip-install-uhcar22w/llvmlite/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-um7lksu2
cwd: /tmp/pip-install-uhcar22w/llvmlite/
Complete output (26 lines):
running bdist_wheel
/usr/bin/python3 /tmp/pip-install-uhcar22w/llvmlite/ffi/build.py
LLVM version... Traceback (most recent call last):
File "/tmp/pip-install-uhcar22w/llvmlite/ffi/build.py", line 106, in main_posix
out = subprocess.check_output([llvm_config, '--version'])
File "/usr/lib/python3.5/subprocess.py", line 626, in check_output
**kwargs).stdout
File "/usr/lib/python3.5/subprocess.py", line 693, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.5/subprocess.py", line 947, in init
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'llvm-config'
During handling of the above exception, another exception occurred:
ERROR: Failed building wheel for llvmlite
Running setup.py clean for llvmlite
Successfully built librosa termcolor face-recognition-models audioread resampy html5lib
Failed to build llvmlite
Installing collected packages: termcolor, astor, numpy, zipp, importlib-metadata, markdown, html5lib, werkzeug, protobuf, bleach, tensorboard, absl-py, grpcio, gast, tensorflow-gpu, Pillow, face-recognition-models, Click, face-recognition, scipy, opencv-python, kiwisolver, cycler, python-dateutil, matplotlib, audioread, joblib, scikit-learn, decorator, llvmlite, numba, resampy, librosa, certifi, urllib3, chardet, idna, requests
Running setup.py install for llvmlite: started
Running setup.py install for llvmlite: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-uhcar22w/llvmlite/setup.py'"'"'; file='"'"'/tmp/pip-install-uhcar22w/llvmlite/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-l9vbe1m5/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.5/llvmlite
cwd: /tmp/pip-install-uhcar22w/llvmlite/
Complete output (29 lines):
running install
running build
got version from file /tmp/pip-install-uhcar22w/llvmlite/llvmlite/_version.py {'version': '0.32.1', 'full': 'aa11b129c0b55973067422397821ae6d44fa5e70'}
running build_ext
/usr/bin/python3 /tmp/pip-install-uhcar22w/llvmlite/ffi/build.py
LLVM version... Traceback (most recent call last):
File "/tmp/pip-install-uhcar22w/llvmlite/ffi/build.py", line 106, in main_posix
out = subprocess.check_output([llvm_config, '--version'])
File "/usr/lib/python3.5/subprocess.py", line 626, in check_output
**kwargs).stdout
File "/usr/lib/python3.5/subprocess.py", line 693, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.5/subprocess.py", line 947, in init
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'llvm-config'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/pip-install-uhcar22w/llvmlite/ffi/build.py", line 192, in <module>
main()
File "/tmp/pip-install-uhcar22w/llvmlite/ffi/build.py", line 182, in main
main_posix('linux', '.so')
File "/tmp/pip-install-uhcar22w/llvmlite/ffi/build.py", line 109, in main_posix
"to the path for llvm-config" % (llvm_config,))
RuntimeError: llvm-config failed executing, please point LLVM_CONFIG to the path for llvm-config
error: command '/usr/bin/python3' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-uhcar22w/llvmlite/setup.py'"'"'; file='"'"'/tmp/pip-install-uhcar22w/llvmlite/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-l9vbe1m5/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.5/llvmlite Check the logs for full command output.
ERROR: Service 'preprocess' failed to build: The command '/bin/sh -c pip3 install -r /tmp-pip/requirements.txt && rm -rf /tmp-pip' returned a non-zero code: 1
Hi,
I am trying to work on your project but I was unable to find the dataset that you used. So, could you please share the dataset link, so that it would really help me.
Thanks in advance.
There is only one kind of pre-trained model under the path "data/model". Would you upload other models in future?
Running docker-compose build
fails with the following final output.
Setting up python3 (3.5.1-3) ...
running python rtupdate hooks for python3.5...
running python post-rtupdate hooks for python3.5...
Setting up python3-dev (3.5.1-3) ...
Setting up dh-python (2.20151103ubuntu1.2) .
Processing triggers for libc-bin (2.23-0ubuntu11.3) ...
Processing triggers for systemd (229-4ubuntu21.31) ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1892k 100 1892k 0 0 16.6M 0 --:--:-- --:--:-- --:--:-- 16.8M
ERROR: This script does not work on Python 3.5 The minimum supported Python version is 3.6. Please use https://bootstrap.pypa.io/pip/3.5/get-pip.py instead.
ERROR: Service 'preprocess' failed to build: The command '/bin/sh -c apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends git gcc make curl wget cmake unzip libsm6 libxext6 libpq-dev libxrender1 libglib2.0-0 liblapack-dev libxrender-dev libopenblas-dev build-essential ca-certificates python3-dev && curl -kL https://bootstrap.pypa.io/get-pip.py | python3 && pip3 install --upgrade pip setuptools && pip3 install scikit-build' returned a non-zero code: 1
Looks like Python 3.5 is being installed but Python >3.6 is required.
`Traceback (most recent call last):
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen
httplib_response = self._make_request(
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/home/saumya/anaconda3/envs/env/lib/python3.8/http/client.py", line 1255, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/home/saumya/anaconda3/envs/env/lib/python3.8/http/client.py", line 1301, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/home/saumya/anaconda3/envs/env/lib/python3.8/http/client.py", line 1250, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/home/saumya/anaconda3/envs/env/lib/python3.8/http/client.py", line 1010, in _send_output
self.send(msg)
File "/home/saumya/anaconda3/envs/env/lib/python3.8/http/client.py", line 950, in send
self.connect()
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/docker/transport/unixconn.py", line 43, in connect
sock.connect(self.unix_socket)
FileNotFoundError: [Errno 2] No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen
retries = retries.increment(
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/urllib3/util/retry.py", line 410, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/urllib3/packages/six.py", line 734, in reraise
raise value.with_traceback(tb)
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen
httplib_response = self._make_request(
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/home/saumya/anaconda3/envs/env/lib/python3.8/http/client.py", line 1255, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/home/saumya/anaconda3/envs/env/lib/python3.8/http/client.py", line 1301, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/home/saumya/anaconda3/envs/env/lib/python3.8/http/client.py", line 1250, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/home/saumya/anaconda3/envs/env/lib/python3.8/http/client.py", line 1010, in _send_output
self.send(msg)
File "/home/saumya/anaconda3/envs/env/lib/python3.8/http/client.py", line 950, in send
self.connect()
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/docker/transport/unixconn.py", line 43, in connect
sock.connect(self.unix_socket)
urllib3.exceptions.ProtocolError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/docker/api/client.py", line 205, in _retrieve_server_version
return self.version(api_version=False)["ApiVersion"]
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/docker/api/daemon.py", line 181, in version
return self._result(self._get(url), json=True)
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/docker/utils/decorators.py", line 46, in inner
return f(self, *args, **kwargs)
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/docker/api/client.py", line 228, in _get
return self.get(url, **self._set_request_timeout(kwargs))
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/requests/sessions.py", line 543, in get
return self.request('GET', url, **kwargs)
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/saumya/anaconda3/envs/env/bin/docker-compose", line 11, in
sys.exit(main())
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/compose/cli/main.py", line 67, in main
command()
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/compose/cli/main.py", line 123, in perform_command
project = project_from_options('.', options)
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/compose/cli/command.py", line 60, in project_from_options
return get_project(
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/compose/cli/command.py", line 131, in get_project
client = get_client(
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/compose/cli/docker_client.py", line 41, in get_client
client = docker_client(
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/compose/cli/docker_client.py", line 170, in docker_client
client = APIClient(**kwargs)
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/docker/api/client.py", line 188, in init
self._version = self._retrieve_server_version()
File "/home/saumya/anaconda3/envs/env/lib/python3.8/site-packages/docker/api/client.py", line 212, in _retrieve_server_version
raise DockerException(
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.