Skip to content

No such file or directory when training #35

@euniwang333

Description

@euniwang333

Hi, I met tensorflow/core/framework/op_kernel.cc:1401] OP_REQUIRES failed at whole_file_read_ops.cc:114 : Not found: NewRandomAccessFile failed to Create/Open: D:\user\dataset\KWS\TC-ResNet\google_speech_commands\splitted_data\train\right\61a0d340_nohash_0.wav issue, but I can find the file in that absolute path.
I use download_and_split.sh script to split the data, and also use absolute path.
Is there anyone met this problem before?
Thanks

[INFO|tf_utils.py:56] 2023-08-08 16:19:53,935 > ?[36m>>    TCResNet8/block2/conv2_1/BatchNorm/beta:0 <dtype: 'float32_ref'> : [48], 48 ... 63280 (is_trainable: True)?[0m
[INFO|tf_utils.py:56] 2023-08-08 16:19:53,936 > ?[32m>>    TCResNet8/block2/conv2_1/BatchNorm/moving_mean:0 <dtype: 'float32_ref'> : [48], 48 ... 63328 (is_trainable: False)?[0m
[INFO|tf_utils.py:56] 2023-08-08 16:19:53,936 > ?[32m>>    TCResNet8/block2/conv2_1/BatchNorm/moving_variance:0 <dtype: 'float32_ref'> : [48], 48 ... 63376 (is_trainable: False)?[0m
[INFO|tf_utils.py:56] 2023-08-08 16:19:53,936 > ?[36m>>    TCResNet8/fc/weights:0 <dtype: 'float32_ref'> : [1, 1, 48, 22], 1056 ... 64432 (is_trainable: True)?[0m
[INFO|tf_utils.py:56] 2023-08-08 16:19:53,936 > ?[36m>>    TCResNet8/fc2/weights:0 <dtype: 'float32_ref'> : [1, 1, 48, 2], 96 ... 64528 (is_trainable: True)?[0m
[INFO|tf_utils.py:61] 2023-08-08 16:19:53,936 > ?[1m?[36m>> End of showing all variables // Number of variables: 52, Number of trainable variables : 32, Total prod + sum of shape: 64528 (63872 trainable)?[0m
[INFO|tf_utils.py:230] 2023-08-08 16:19:53,937 > ?[1m?[33mself.args.checkpoint_path updated:  -> None?[0m
[INFO|trainer.py:190] 2023-08-08 16:19:53,964 > Use MomentumOptimizer
[INFO|trainer.py:156] 2023-08-08 16:19:54,604 > ?[4m?[1m?[36mInitialize global / local variables?[0m
[INFO|summaries.py:123] 2023-08-08 16:19:54,604 > Write summaries into : D://user/dataset/KWS/TC-ResNet/work/v1/TCResNet8Model-1.0/no_processing.001_mom_l1
[INFO|base.py:127] 2023-08-08 16:19:55,080 > MAPMetricOp is added.
[INFO|base.py:127] 2023-08-08 16:19:55,081 > AccuracyMetricOp is added.
[INFO|base.py:127] 2023-08-08 16:19:55,081 > Top5AccuracyMetricOp is added.
[INFO|base.py:127] 2023-08-08 16:19:55,081 > ClassificationReportMetricOp is added.
[INFO|base.py:127] 2023-08-08 16:19:55,081 > LossesMetricOp is added.
[INFO|base.py:127] 2023-08-08 16:19:55,081 > WavSummaryOp is added.
[INFO|base.py:127] 2023-08-08 16:19:55,081 > LearningRateSummaryOp is added.
[INFO|trainer.py:167] 2023-08-08 16:19:55,213 > ?[1m?[4m?[33mWatch Validation Through TensorBoard !?[0m
[INFO|trainer.py:169] 2023-08-08 16:19:55,225 > ?[1m?[4m?[33m--checkpoint_path D:\user\dataset\KWS\TC-ResNet\work\v1\TCResNet8Model-1.0\no_processing.001_mom_l1?[0m
[INFO|trainer.py:368] 2023-08-08 16:19:55,225 > Training started
2023-08-08 16:19:55.861665: W tensorflow/core/framework/op_kernel.cc:1401] OP_REQUIRES failed at whole_file_read_ops.cc:114 : Not found: NewRandomAccessFile failed to Create/Open: D:\user\dataset\KWS\TC-ResNet\google_speech_commands\splitted_data\train\no\73dda36a_nohash_1.wav : 系統找不到指定的檔案。

; No such file or directory
2023-08-08 16:19:55.861718: W tensorflow/core/framework/op_kernel.cc:1401] OP_REQUIRES failed at whole_file_read_ops.cc:114 : Not found: NewRandomAccessFile failed to Create/Open: D:\user\dataset\KWS\TC-ResNet\google_speech_commands\splitted_data\train\off\70a00e98_nohash_4.wav : 系統找不到指定的檔案
。
; No such file or directory
2023-08-08 16:19:55.861764: W tensorflow/core/framework/op_kernel.cc:1401] OP_REQUIRES failed at whole_file_read_ops.cc:114 : Not found: NewRandomAccessFile failed to Create/Open: D:\user\dataset\KWS\TC-ResNet\google_speech_commands\splitted_data\train\right\61a0d340_nohash_0.wav : 系統找不到指定的檔
案。
; No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions