学长您好,可以帮我看一下这个是什么问题导致的吗?我不明白一开始的use specified dataset_dir_list: ['result/data'], instead of in config是什么意思,我放了绝对路径相对路径都不行,感谢您的帮助。
`(speech_enhance) 123@123-Lenovo-Legion-R7000P2020H:/media/123/Axuan2/FullSubNet-plus$ ./A.sh
use specified dataset_dir_list: ['result/data'], instead of in config
OMP: Info #276: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead.
[2022-11-11 01:25:27.873] Using CPU in the experiment.
[2022-11-11 01:25:27.874] Loading inference dataset...
[2022-11-11 01:25:27.883] Loading model...
[2022-11-11 01:25:27.996] 当前正在处理 tar 格式的模型断点,其 epoch 为:194.
[2022-11-11 01:25:28.019] Configurations are as follows:
[2022-11-11 01:25:28.020] [acoustics]
n_fft = 512
win_length = 512
sr = 16000
hop_length = 256
[inferencer]
path = "fullsubnet_plus.inferencer.inferencer.Inferencer"
type = "mag_complex_full_band_crm_mask"
[dataset]
path = "fullsubnet.dataset.dataset_inference.Dataset"
[model]
path = "fullsubnet_plus.model.fullsubnet_plus.FullSubNet_Plus"
[inferencer.args]
n_neighbor = 15
[dataset.args]
dataset_dir_list = [ "result/data",]
sr = 16000
[model.args]
sb_num_neighbors = 15
fb_num_neighbors = 0
num_freqs = 257
look_ahead = 2
sequence_model = "LSTM"
fb_output_activate_function = "ReLU"
sb_output_activate_function = false
channel_attention_model = "TSSE"
fb_model_hidden_size = 512
sb_model_hidden_size = 384
weight_init = false
norm_type = "offline_laplace_norm"
num_groups_in_drop_band = 2
kersize = [ 3, 5, 10,]
subband_num = 1
Traceback (most recent call last):
File "/home/123/anaconda3/envs/speech_enhance/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/123/anaconda3/envs/speech_enhance/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/media/123/Axuan2/FullSubNet-plus/speech_enhance/tools/inference.py", line 37, in
main(configuration, checkpoint_path, output_dir)
File "/media/123/Axuan2/FullSubNet-plus/speech_enhance/tools/inference.py", line 13, in main
inferencer = inferencer_class(
File "/media/123/Axuan2/FullSubNet-plus/speech_enhance/fullsubnet_plus/inferencer/inferencer.py", line 54, in init
super().init(config, checkpoint_path, output_dir)
File "/media/123/Axuan2/FullSubNet-plus/speech_enhance/audio_zen/inferencer/base_inferencer.py", line 59, in init
with open((root_dir / f"{time.strftime('%Y-%m-%d %H:%M:%S')}.toml").as_posix(), "w") as handle:
OSError: [Errno 22] Invalid argument: '/media/123/Axuan2/FullSubNet-plus/result/output/2022-11-11 01:25:28.toml'`