Unverified 提交 86decb3c authored 作者: Glenn Jocher's avatar Glenn Jocher 提交者: GitHub

Add `ultralytics` pip package (#10103)

上级 0039870b
# YOLOv5 requirements # YOLOv5 🚀 requirements
# Usage: pip install -r requirements.txt # Usage: pip install -r requirements.txt
# Base ---------------------------------------- # Base ------------------------------------------------------------------------
ipython # interactive notebook
matplotlib>=3.2.2 matplotlib>=3.2.2
numpy>=1.18.5 numpy>=1.18.5
opencv-python>=4.1.1 opencv-python>=4.1.1
Pillow>=7.1.2 Pillow>=7.1.2
psutil # system resources
PyYAML>=5.3.1 PyYAML>=5.3.1
requests>=2.23.0 requests>=2.23.0
scipy>=1.4.1 scipy>=1.4.1
torch>=1.7.0 # see https://pytorch.org/get-started/locally/ (recommended) thop>=0.1.1 # FLOPs computation
torch>=1.7.0 # see https://pytorch.org/get-started/locally (recommended)
torchvision>=0.8.1 torchvision>=0.8.1
tqdm>=4.64.0 tqdm>=4.64.0
# protobuf<=3.20.1 # https://github.com/ultralytics/yolov5/issues/8012 # protobuf<=3.20.1 # https://github.com/ultralytics/yolov5/issues/8012
# Logging ------------------------------------- # Logging ---------------------------------------------------------------------
tensorboard>=2.4.1 tensorboard>=2.4.1
# clearml>=1.2.0 # clearml>=1.2.0
# comet # comet
# Plotting ------------------------------------ # Plotting --------------------------------------------------------------------
pandas>=1.1.4 pandas>=1.1.4
seaborn>=0.11.0 seaborn>=0.11.0
# Export -------------------------------------- # Export ----------------------------------------------------------------------
# coremltools>=6.0 # CoreML export # coremltools>=6.0 # CoreML export
# onnx>=1.9.0 # ONNX export # onnx>=1.9.0 # ONNX export
# onnx-simplifier>=0.4.1 # ONNX simplifier # onnx-simplifier>=0.4.1 # ONNX simplifier
...@@ -34,14 +37,12 @@ seaborn>=0.11.0 ...@@ -34,14 +37,12 @@ seaborn>=0.11.0
# tensorflowjs>=3.9.0 # TF.js export # tensorflowjs>=3.9.0 # TF.js export
# openvino-dev # OpenVINO export # openvino-dev # OpenVINO export
# Deploy -------------------------------------- # Deploy ----------------------------------------------------------------------
# tritonclient[all]~=2.24.0 # tritonclient[all]~=2.24.0
# Extras -------------------------------------- # Extras ----------------------------------------------------------------------
ipython # interactive notebook
psutil # system utilization
thop>=0.1.1 # FLOPs computation
# mss # screenshots # mss # screenshots
# albumentations>=1.0.3 # albumentations>=1.0.3
# pycocotools>=2.0 # COCO mAP # pycocotools>=2.0 # COCO mAP
# roboflow # roboflow
# ultralytics # HUB https://hub.ultralytics.com
...@@ -16,7 +16,7 @@ RUN apt update && apt install --no-install-recommends -y zip htop screen libgl1- ...@@ -16,7 +16,7 @@ RUN apt update && apt install --no-install-recommends -y zip htop screen libgl1-
COPY requirements.txt . COPY requirements.txt .
RUN python -m pip install --upgrade pip wheel RUN python -m pip install --upgrade pip wheel
RUN pip uninstall -y Pillow torchtext # torch torchvision RUN pip uninstall -y Pillow torchtext # torch torchvision
RUN pip install --no-cache -r requirements.txt albumentations comet gsutil notebook Pillow>=9.1.0 \ RUN pip install --no-cache -r requirements.txt ultralytics albumentations comet gsutil notebook Pillow>=9.1.0 \
'opencv-python<4.6.0.66' \ 'opencv-python<4.6.0.66' \
--extra-index-url https://download.pytorch.org/whl/cu113 --extra-index-url https://download.pytorch.org/whl/cu113
......
...@@ -17,7 +17,7 @@ RUN apt install --no-install-recommends -y python3-pip git zip curl htop gcc lib ...@@ -17,7 +17,7 @@ RUN apt install --no-install-recommends -y python3-pip git zip curl htop gcc lib
# Install pip packages # Install pip packages
COPY requirements.txt . COPY requirements.txt .
RUN python3 -m pip install --upgrade pip wheel RUN python3 -m pip install --upgrade pip wheel
RUN pip install --no-cache -r requirements.txt gsutil notebook \ RUN pip install --no-cache -r requirements.txt ultralytics gsutil notebook \
tensorflow-aarch64 tensorflow-aarch64
# tensorflowjs \ # tensorflowjs \
# onnx onnx-simplifier onnxruntime \ # onnx onnx-simplifier onnxruntime \
......
...@@ -17,7 +17,7 @@ RUN apt install --no-install-recommends -y python3-pip git zip curl htop libgl1- ...@@ -17,7 +17,7 @@ RUN apt install --no-install-recommends -y python3-pip git zip curl htop libgl1-
# Install pip packages # Install pip packages
COPY requirements.txt . COPY requirements.txt .
RUN python3 -m pip install --upgrade pip wheel RUN python3 -m pip install --upgrade pip wheel
RUN pip install --no-cache -r requirements.txt albumentations gsutil notebook \ RUN pip install --no-cache -r requirements.txt ultralytics albumentations gsutil notebook \
coremltools onnx onnx-simplifier onnxruntime tensorflow-cpu tensorflowjs \ coremltools onnx onnx-simplifier onnxruntime tensorflow-cpu tensorflowjs \
# openvino-dev \ # openvino-dev \
--extra-index-url https://download.pytorch.org/whl/cpu --extra-index-url https://download.pytorch.org/whl/cpu
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论