Skip to content

Commit 19a8759

Browse files
authored
[fix] failed to save checkpoints in VideoLearner.fit() (#616)
1 parent 3b8d2b9 commit 19a8759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils_cv/action_recognition/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def fit(
273273
self.save(
274274
os.path.join(
275275
model_dir,
276-
"{model_name}_{self.epoch}.pt".format(
276+
"{model_name}_{epoch}.pt".format(
277277
model_name=model_name, epoch=str(e).zfill(3),
278278
),
279279
)

0 commit comments

Comments
 (0)