Skip to content

Neptune Logger assumes unix-style filepath for model checkpoint #10602

@seba-eng

Description

@seba-eng

The Neptune Logger can automatically upload model checkpoints if the callback is used. It generates an "expected_model_path" for that. This path has hard-coded a '/' at the end (see here), which can cause problems on Windows systems because the actual path has (or can have) a backslash at this position. A simple fix would be to use os.path.sep insteat of '/'.

cc @justusschock @awaelchli @akihironitta

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions