load audio files server and local path issues
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
Piste de recherche
Start by tracing AudioTable.load_audio_files with the shown local_audio_path and server_audio_path, then compare its behavior with the table.loadtable call and the mycaslib configuration. Reproduce the PATH/DOCUMENT error using the provided paths; done means the intended audio subset loads into its own table without that error.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
modelPath = '/srv/nfs/kubedata/cas-landingzone/sbxtot/sounds'
s.addcaslib(activeonadd=True,datasource={'srctype':'path'},name='mycaslib',path=modelPath,subdirectories=True)
s.setsessopt(caslib='mycaslib')
local_data_test = '/srv/nfs/kubedata/cas-landingzone/sbxtot/sounds/test'
server_data_test = '/srv/nfs/kubedata/cas-landingzone/sbxtot/sounds/test'
local_data_train = '/srv/nfs/kubedata/cas-landingzone/sbxtot/sounds/train'
server_data_train = '/srv/nfs/kubedata/cas-landingzone/sbxtot/sounds/train'
local_data_validate = '/srv/nfs/kubedata/compute-landingzone/sbxtot/sounds/validate'
server_data_validate = 'srv/nfs/kubedata/compute-landingzone/sbxtot/sounds/validate'
audio_table_train = AudioTable.load_audio_files(s,
casout={'name':'audio_files_train','replace':'True'},
local_audio_path=local_data_train,
server_audio_path=server_playground_data)
I can't understand why this procedure can't process those files and constantly throw that error:
Cannot convert file /srv/nfs/kubedata/cas-landingzone/sbxtot/sounds/train/abnormal/00000110.wav
Number of files processed: 0
File conversions are finished.
ERROR: A PATH type caslib is required when using filetype DOCUMENT.
ERROR: The action stopped due to errors.
ERROR: A PATH type caslib is required when using filetype DOCUMENT.
ERROR: The action stopped due to errors.
While in the meantime, the following procedure works and create my table but it includes all the subdirectories of sounds (test, train, validate) content in one file
rt2 = s.retrieve('table.loadtable', _messagelevel='error', casout= {'name':'audio_files_train','replace':'True'},
caslib='mycaslib', path='',
importOptions=dict(fileType='AUDIO', contents=True, recurse=True))

Can you let me know how to solve this issue ?
Thanks,
Tom.
- Langage dominant
- Python
- Étoiles
- 224
- Forks
- 129
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de sassoftware/python-dlpy
-
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
sassoftware/python-dlpy#411 ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
sassoftware/python-dlpy#402 · 16 commentaires ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
sassoftware/python-dlpy#392 · 2 commentaires ·
-
Export ONNXOuverte
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
sassoftware/python-dlpy#331 · 5 commentaires ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 38/100
sassoftware/python-dlpy#280 · 4 commentaires ·
Toutes les issues de sassoftware/python-dlpy
Issues similaires
-
community enhancement good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
Hochfrequenz/sapgui.mcp#1039 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
didi/helixharness#18 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
Les mainteneurs répondent en général sous 1 jour
-
API /search : typer la réponseOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
dataforgoodfr/democracy-watch#46 · 1 réaction ·