1. 学习
  2. /
  3. 课程
  4. /
  5. Deploying AI into Production with FastAPI

Connected

练习

Logging time to load a model

You are building a FastAPI app to classify penguins, and you'd like measure the time it takes to load the model and log it.

说明

100 XP
  • Load the uvicorn error logger.
  • Log the process time to load the model at the INFO level.