htlee6 / RedisAI-imagenet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RedisAI-imagenet

This repo demonstrates a simple example of how to use RedisAI to classify ImageNet images using a pre-trained model with RedisAI.

Dependencies

  • Redis
  • RedisAI (Docker container)
  • RedisAI-py
pip install redisai==1.3.0
  • pytorch
pip install torch==1.11.0
  • torchvision
pip install torchvision==0.12.0

Tutorial Post

https://htlee.github.io/blog/2023/07/20/RedisAI-Example/

Run the app

python app.py --image img/dog.jpeg --model_name resnet50

About


Languages

Language:Python 100.0%