-
-
Notifications
You must be signed in to change notification settings - Fork 657
Closed
Labels
Description
❓ Questions/Help/Support
I have my own local trains server. It works perfectly well to log scalars and log history. However, I don’t catch how to upload models on the server. It seems models of examples on demo server are not uploaded.
I use the following code from documentation
trains_logger = TrainsLogger(
project_name="pytorch-ignite-integration",
task_name="cnn-mnist"
)
to_save = {"model": model}
handler = Checkpoint(
to_save,
TrainsSaver(),
n_saved=1,
score_function=lambda e: 123,
score_name="acc",
filename_prefix="best",
global_step_transform=global_step_from_engine(trainer)
)
validation_evaluator.add_event_handler(Events.EVENT_COMPLETED, handler)
Models are referenced as local files on computing server... I surely missed something, some help is needed.
I don’t see any task.upload_artifact(...) in code. I thought it was the way to upload. If I use official example of the ˋtrains documentation, the call of ˋtorch.save(...) does not upload model 😔
Thanks in advance!