* YOLOv5 forward compatibility update * add data dir * ci test yolov3 * update build_targets() * update build_targets() * update build_targets() * update yolov3-spp.yaml * add yolov3-tiny.yaml * add yolov3-tiny.yaml * Update yolov3-tiny.yaml * thop bug fix * Detection() device bug fix * Use torchvision.ops.nms() * Remove redundant download mirror * CI tests with yolov3-tiny * Update README.md * Synch train and test iou_thresh * update requirements.txt * Cat apriori autolabels * Confusion matrix * Autosplit * Autosplit * Update README.md * AP no plot * Update caching * Update caching * Caching bug fix * --image-weights bug fix * datasets bug fix * mosaic plots bug fix * plot_study * boxes.max() * boxes.max() * boxes.max() * boxes.max() * boxes.max() * boxes.max() * update * Update README * Update README * Update README.md * Update README.md * results png * Update README * Targets scaling bug fix * update plot_study * update plot_study * update plot_study * update plot_study * Targets scaling bug fix * Finish Readme.md * Finish Readme.md * Finish Readme.md * Update README.md * Creado con Colaboratory
26 lines
821 B
Docker
26 lines
821 B
Docker
FROM gcr.io/google-appengine/python
|
|
|
|
# Create a virtualenv for dependencies. This isolates these packages from
|
|
# system-level packages.
|
|
# Use -p python3 or -p python3.7 to select python version. Default is version 2.
|
|
RUN virtualenv /env -p python3
|
|
|
|
# Setting these environment variables are the same as running
|
|
# source /env/bin/activate.
|
|
ENV VIRTUAL_ENV /env
|
|
ENV PATH /env/bin:$PATH
|
|
|
|
RUN apt-get update && apt-get install -y python-opencv
|
|
|
|
# Copy the application's requirements.txt and run pip to install all
|
|
# dependencies into the virtualenv.
|
|
ADD requirements.txt /app/requirements.txt
|
|
RUN pip install -r /app/requirements.txt
|
|
|
|
# Add the application source code.
|
|
ADD . /app
|
|
|
|
# Run a WSGI server to serve the application. gunicorn must be declared as
|
|
# a dependency in requirements.txt.
|
|
CMD gunicorn -b :$PORT main:app
|