-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on using load
with format
argument
#389
Comments
Thanks for reporting this. The problem is that in the default config, we also provide a repository on your local machine, see Lines 7 to 9 in 069cc04
But if that repository does not exists, it raises an error. As a workaround, you can create the folder, e.g. $ mkdir -p /home/bagus/audb-host/data-local/ Or specify a custom cache_root: ~/audb
shared_cache_root: /data/audb
repositories:
- name: data-public
backend: artifactory
host: https://audeering.jfrog.io/artifactory |
This should be fixed with version 1.7.0 of Could you please try: $ pip install --upgrade audb and try again. |
I still see the same error in v1.7.0. Using cough-speech-sneeze DB, it loads until 6% (load media) before the error happens. In [1]: import audb
In [2]: audb.__version__
Out[2]: '1.7.0'
In [4]: db = audb.load('cough-speech-sneeze', format='wav', verbose=True)
Get: cough-speech-sneeze v2.0.1
Cache: /home/bagus/audb/cough-speech-sneeze/2.0.1/5690b542
...
File ~/github/nkululeko/.env/lib/python3.8/site-packages/audbackend/core/utils.py:32, in call_function_on_backend(function, suppress_backend_errors, fallback_return_value, *args, **kwargs)
30 return fallback_return_value
31 else:
---> 32 raise BackendError(ex)
BackendError: An exception was raised by the backend, please see stack trace for further information. |
Thanks for reporting again. I hope we are able to fix this in the near future or can switch to a better server. As a workaround, you can simply rerun your download command and it will continue were it did stop. For me the download runs fine for around 8 minutes until the error is thrown. db = audb.load('cough-speech-sneeze', format='wav', verbose=True, num_workers=8) |
Thanks for confirming that you can reproduce it. It is also very slow downloading from that artifactory (comparing to |
Thanks for the suggestion, I was also thinking about Zenodo some time ago, but the problem is that At the moment our favored alternative would be just using a web server, where we can upload via FTP and download via HTTPS. In general, the performance of Artifactory server are ok, downloading from our internal one is very fast, but the public one, hosted by https://audeering.jfrog.io has caused us several problems already and is indeed not very fast. |
As mentioned in #409 (comment), the error during download seems also not to happen when using a previous version of $ pip install "audb==1.6.5"
$ pip install "audbackend==1.0.2"
$ mkdir -p ~/audb-host/data-local/ # to avoid the error reported here at the very top of this issue |
I tried to use
load
with format a argument but getting this (backend) errorI also tried it with
crema-d
and got the same error. Although the original dataset maybe is already inwav
format, this should not raises error, since the user want to ensure the correct audio format.The text was updated successfully, but these errors were encountered: