Skip to content

experiment.save is exposed in the python API #64

@andreasjansson

Description

@andreasjansson

I was tired and accidentally wrote experiment.save rather than experiment.commit. My linter didn't complain because .save() a method on Experiment. The error I got was

Traceback (most recent call last):
  File "train.py", line 145, in <module>
    train()
  File "train.py", line 140, in train
    train_loop(model, train_dl, test_dl)
  File "train.py", line 116, in train_loop
    experiment.save(
TypeError: save() got an unexpected keyword argument 'step'

Might be worth prefixing "private" methods with underscore.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions