Slackbot
10/24/2022, 3:33 PMBo
10/24/2022, 3:35 PMBo
10/24/2022, 3:36 PMmodel = bentoml.keras.load_model('my_model:version').Shiva Charan Velichala
10/24/2022, 3:37 PMShiva Charan Velichala
10/24/2022, 3:40 PMShiva Charan Velichala
10/24/2022, 3:40 PMShiva Charan Velichala
10/24/2022, 3:43 PMShiva Charan Velichala
10/24/2022, 3:43 PMAaron Pham
10/24/2022, 7:26 PMload_model it ensures that you will load the model from that version only.
Ideally, I suggest you not to load model this way, as the model saved inside bento is exactly the same with the one that you use load_model
For managing multiple models, I suggest using labels as demonstrated here https://docs.bentoml.org/en/latest/concepts/model.html#save-a-trained-model to differentiate among different modelsShiva Charan Velichala
10/25/2022, 3:19 PMAaron Pham
10/25/2022, 4:25 PM