python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Install Nvidia Tensor : pip install --no-cache nvidia-tensorrt --index-url https://pypi.ngc.nvidia.com/
Install PyTorch : pip install -r https://raw.githubusercontent.com/ultralytics/yolov5/master/requirements.txt
uvicorn app:app --reload
docker build -t py-image-recognize .
docker run --rm -ti -p 8484:8484 py-image-recognize