In Windows OS, folder names in a path join together with back slash [ \ ] instead of slash [ / ] like this:
C:\Program Files\NVIDIA GPU Computing Toolkit
so build_dataset.py throw an error. because it can't split filename from directory.
I solve it by replace the slash with double back slash '\'
image.save(os.path.join(output_dir, **filename.split('\\')[-1])**)
Thanks.
In Windows OS, folder names in a path join together with back slash [ \ ] instead of slash [ / ] like this:
so build_dataset.py throw an error. because it can't split filename from directory.
I solve it by replace the slash with double back slash '\'
image.save(os.path.join(output_dir, **filename.split('\\')[-1])**)Thanks.