load_model — Turi Create API 6.4.1 documentation (original) (raw)
Load a previously saved Turi Create model.
turicreate.
load_model
(location)¶
Load any Turi Create model that was previously saved.
This function assumes the model (can be any model) was previously saved in Turi Create model format with model.save(filename).
Parameters: | location : string Location of the model to load. Can be a local path or a remote URL. Because models are saved as directories, there is no file extension. |
---|
Examples
model.save('my_model_file') loaded_model = tc.load_model('my_model_file')