Skip to content

Path utility functions do not work on windows #11

@ankhanh-vni

Description

@ankhanh-vni

Please consider change this from
cv2.imwrite(filename=str(Path(target_directory) / str(image_path).split("/")[-1]), img=image)
and
path_labels_df["Paths"] = images_directory + "/" + (path_labels_df["Paths"]).str.split("/", expand=True).iloc[:, -1]
to double back slash ("\") for windows machine.

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