* Update LICENSE to AGPL-3.0 This pull request updates the license of the YOLOv5 project from GNU General Public License v3.0 (GPL-3.0) to GNU Affero General Public License v3.0 (AGPL-3.0). We at Ultralytics have decided to make this change in order to better protect our intellectual property and ensure that any modifications made to the YOLOv5 source code will be shared back with the community when used over a network. AGPL-3.0 is very similar to GPL-3.0, but with an additional clause to address the use of software over a network. This change ensures that if someone modifies YOLOv5 and provides it as a service over a network (e.g., through a web application or API), they must also make the source code of their modified version available to users of the service. This update includes the following changes: - Replace the `LICENSE` file with the AGPL-3.0 license text - Update the license reference in the `README.md` file - Update the license headers in source code files We believe that this change will promote a more collaborative environment and help drive further innovation within the YOLOv5 community. Please review the changes and let us know if you have any questions or concerns. Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> * Update headers to AGPL-3.0 --------- Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
42 lines
1.6 KiB
Plaintext
42 lines
1.6 KiB
Plaintext
# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license
|
|
# Builds ultralytics/yolov5:latest-arm64 image on DockerHub https://hub.docker.com/r/ultralytics/yolov5
|
|
# Image is aarch64-compatible for Apple M1 and other ARM architectures i.e. Jetson Nano and Raspberry Pi
|
|
|
|
# Start FROM Ubuntu image https://hub.docker.com/_/ubuntu
|
|
FROM arm64v8/ubuntu:rolling
|
|
|
|
# Downloads to user config dir
|
|
ADD https://ultralytics.com/assets/Arial.ttf https://ultralytics.com/assets/Arial.Unicode.ttf /root/.config/Ultralytics/
|
|
|
|
# Install linux packages
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
RUN apt update
|
|
RUN TZ=Etc/UTC apt install -y tzdata
|
|
RUN apt install --no-install-recommends -y python3-pip git zip curl htop gcc libgl1-mesa-glx libglib2.0-0 libpython3-dev
|
|
# RUN alias python=python3
|
|
|
|
# Install pip packages
|
|
COPY requirements.txt .
|
|
RUN python3 -m pip install --upgrade pip wheel
|
|
RUN pip install --no-cache -r requirements.txt albumentations gsutil notebook \
|
|
coremltools onnx onnxruntime
|
|
# tensorflow-aarch64 tensorflowjs \
|
|
|
|
# Create working directory
|
|
RUN mkdir -p /usr/src/app
|
|
WORKDIR /usr/src/app
|
|
|
|
# Copy contents
|
|
# COPY . /usr/src/app (issues as not a .git directory)
|
|
RUN git clone https://github.com/ultralytics/yolov5 /usr/src/app
|
|
ENV DEBIAN_FRONTEND teletype
|
|
|
|
|
|
# Usage Examples -------------------------------------------------------------------------------------------------------
|
|
|
|
# Build and Push
|
|
# t=ultralytics/yolov5:latest-arm64 && sudo docker build --platform linux/arm64 -f utils/docker/Dockerfile-arm64 -t $t . && sudo docker push $t
|
|
|
|
# Pull and Run
|
|
# t=ultralytics/yolov5:latest-arm64 && sudo docker pull $t && sudo docker run -it --ipc=host -v "$(pwd)"/datasets:/usr/src/datasets $t
|