Skip to content

ModelCheckpoint does not create full path #3001

@ydcjeff

Description

@ydcjeff

🐛 Bug

To Reproduce

Run checkpoint_callback = ModelCheckpoint('my/path/')
Only my folder is created.

I think this line discard the last trailing slash. So the directories are not created as intended when the paths are getting split.

Expected behavior

Path should be fully created.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcheckpointingRelated to checkpointinghelp wantedOpen to be worked onpriority: 0High priority task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions