1. Học hỏi
  2. /
  3. Khoa Học
  4. /
  5. Deploying AI into Production with FastAPI

Connected

Bài tập

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.

Hướng dẫn

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