Skip to content

Commit 6b5585c

Browse files
committed
fix
1 parent 5061e45 commit 6b5585c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/train-resume.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
dataset = tv.datasets.MNIST(".", download=True, transform=tv.transforms.ToTensor())
99
train, val = data.random_split(dataset, [55000, 5000])
1010

11-
model_path = download_model(name="jirka/kaggle/lit-auto-encoder-simple", download_dir="my_models")
11+
model_path = download_model(name="jirka/kaggle/lit-auto-encoder-simple:latest", download_dir="my_models")
1212
print(f"model: {model_path}")
1313
# autoencoder = LitAutoEncoder.load_from_checkpoint(checkpoint_path=model_path)
1414

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def test_upload_model(mocker, tmpdir, model, model_path):
3030

3131
# The lit-logger function is just a wrapper around the SDK function
3232
upload_model(
33-
model,
33+
model=model,
3434
name="org-name/teamspace/model-name",
3535
cluster_id="cluster_id",
3636
staging_dir=tmpdir,

0 commit comments

Comments
 (0)