-
Notifications
You must be signed in to change notification settings - Fork 283
Open
Labels
docsDocumentationDocumentation
Description
When I tried literally running
Model().from_disk('saved_model.bin')
I as referenced by the documentation, I got an error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: __init__() missing 2 required positional arguments: 'name' and 'forward'
So, the documentation needs be updated to note what kind of model instance has to be used for reading from disk. Can I use a generic Model("unknown", lambda x: None)
or do I need a look-alike model to the one I'm reading?
kadarakos, Zatteliet and janrito
Metadata
Metadata
Assignees
Labels
docsDocumentationDocumentation