push to hub callback edit
This commit is contained in:
parent
322a495d9c
commit
67cc4bdf7c
@ -328,7 +328,7 @@ class PushToHubCallback(Callback):
|
||||
print(f"Pushing model to the hub, epoch {trainer.current_epoch}")
|
||||
pl_module.model.push_to_hub(OUTPUT_MODEL_PATH,
|
||||
commit_message=f"Training in progress, epoch {trainer.current_epoch}")
|
||||
pl_module.processor.push_to_hub(OUTPUT_MODEL_PATH, commit_message=f"Training in progress, epoch {trainer.current_epoch}")
|
||||
# pl_module.processor.push_to_hub(OUTPUT_MODEL_PATH, commit_message=f"Training in progress, epoch {trainer.current_epoch}")
|
||||
|
||||
def on_train_end(self, trainer, pl_module):
|
||||
print(f"Pushing model to the hub after training")
|
||||
|
Loading…
Reference in New Issue
Block a user