load audio files server and local path issues
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 224
- Fork
- 129
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của sassoftware/python-dlpy
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
sassoftware/python-dlpy#411 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
sassoftware/python-dlpy#402 · 16 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
sassoftware/python-dlpy#392 · 2 bình luận ·
-
Export ONNX Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
sassoftware/python-dlpy#331 · 5 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
sassoftware/python-dlpy#280 · 4 bình luận ·
Tất cả issue của sassoftware/python-dlpy
Issue tương tự
-
link-check link-check:sphinx-theme
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
OpenHands/extensions#626 · 1 bình luận ·
-
Change observation tooltip text Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
CSCfi/sd-search-api#39 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100