load audio files server and local path issues
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 224
- フォーク
- 129
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sassoftware/python-dlpy のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
sassoftware/python-dlpy#411 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
sassoftware/python-dlpy#402 · コメント 16 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
sassoftware/python-dlpy#392 · コメント 2 件 ·
-
Export ONNXオープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
sassoftware/python-dlpy#331 · コメント 5 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
sassoftware/python-dlpy#280 · コメント 4 件 ·
sassoftware/python-dlpy の issue をすべて見る
似ている issue
-
request-theme
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
LizardByte/ThemerrDB#9883 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Project-MONAI/MONAI#9258 ·
メンテナーはふだん 3 日以内に返信
-
catalog:deprecation
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
surendranb/free-inference#31 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
fritzprix/libr-agent#2612 ·
メンテナーはふだん 1 日以内に返信
-
needs-triage presubmit-gate
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
gke-labs/kube-agents#5001 ·
メンテナーはふだん 1 日以内に返信