Skip to content

Step 5 Error after Audio Conversion Succeeds #4

@marcstein

Description

@marcstein

This occurs on Colab, every run.

Converting audio...
0/0 [00:00<?, ?it/s]
100%
38653/38653 [1:00:50<00:00, 10.99it/s]

FileNotFoundError Traceback (most recent call last)
in
115
116 # Convert to JSON
--> 117 generate_json("trainfiles.txt", "trainfiles.json")
118 generate_json("valfiles.txt", "valfiles.json")
119 generate_json("allfiles.txt", "allfiles.json")

in generate_json(inpath, outpath)
45 lpath = "wavs/" + lpath
46 size = os.stat(
---> 47 os.path.join(os.path.dirname(inpath), lpath)
48 ).st_size
49 x = {

FileNotFoundError: [Errno 2] No such file or directory: 'wavs/\ufeffpath'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions