Slackbot
05/29/2023, 5:09 PMlarme (shenyang)
05/30/2023, 3:05 AMcustom_objects
? After saved your model, you can do the following in `service.py`:
import bentoml
bento_model = bentoml.models.get("iris_clf:latest")
mapping = bento_model.custom_objects["mapping"]
runner = bento_model.to_runner()
# then use runner and mapping functions
Taeef Najib
05/31/2023, 2:14 AMmain.py
can I import it in my save_model.py
?larme (shenyang)
05/31/2023, 6:23 AM