Skip to content

File not found error -- windows long file path (>260 characters) error #196

@AlexEMG

Description

@AlexEMG

On Windows one might experience File Not Found errors for perfectly legitimate paths.

Errors thrown on windows if the file path to an image is > 260 characters, can be fixed by adding the prefix: "\\?\" to the file path (https://docs.microsoft.com/en-us/windows/desktop/fileio/naming-a-file#maximum-path-length-limitation)

However, there are many spots where long paths can happen, so the easiest fix is to work in a directory that by itself does not have too many characters...

See, e.g.
#175
This issue fixes the issues for the train/test images:
#195

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