ast icon indicating copy to clipboard operation
ast copied to clipboard

csv error

Open mooncv opened this issue 1 month ago • 1 comments

When running, the following error occurs and the number of training sessions is limited to 50. Is it necessary to save csv? I am wondering if there is a way to fix the error or resolve the issue by not saving.

+ python ./get_esc_result.py --exp_path ./exp/test-esc50-f10-t10-impTrue-aspTrue-b16-lr1e-5
Traceback (most recent call last):
  File "/kaggle/working/ast/egs/esc50/./get_esc_result.py", line 21, in <module>
    result = np.loadtxt(args.exp_path+'/fold' + str(fold) + '/result.csv', delimiter=',')
  File "/opt/conda/lib/python3.10/site-packages/numpy/lib/npyio.py", line 1373, in loadtxt
    arr = _read(fname, dtype=dtype, comment=comment, delimiter=delimiter,
  File "/opt/conda/lib/python3.10/site-packages/numpy/lib/npyio.py", line 992, in _read
    fh = np.lib._datasource.open(fname, 'rt', encoding=encoding)
  File "/opt/conda/lib/python3.10/site-packages/numpy/lib/_datasource.py", line 193, in open
    return ds.open(path, mode, encoding=encoding, newline=newline)
  File "/opt/conda/lib/python3.10/site-packages/numpy/lib/_datasource.py", line 533, in open
    raise FileNotFoundError(f"{path} not found.")
FileNotFoundError: ./exp/test-esc50-f10-t10-impTrue-aspTrue-b16-lr1e-5/fold1/result.csv not found.

mooncv avatar May 26 '24 03:05 mooncv