Bump tensorflow from 1.12.3 to 1.15.0 in /cvat/requirements (#968)

* Bump tensorflow from 1.12.3 to 1.15.0 in /cvat/requirements

Bumps [tensorflow](https://github.com/tensorflow/tensorflow) from 1.12.3 to 1.15.0.
- [Release notes](https://github.com/tensorflow/tensorflow/releases)
- [Changelog](https://github.com/tensorflow/tensorflow/blob/master/RELEASE.md)
- [Commits](https://github.com/tensorflow/tensorflow/compare/v1.12.3...v1.15.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Update pip because tensorflow 1.15 cannot not be found.

* Fix a typo (pip -> pip3)

* Replaced pip3 by python3 -m pip.
main
dependabot[bot] 6 years ago committed by Nikita Manovich
parent c84daaf2ef
commit 4c72bc3fda

@ -47,7 +47,8 @@ RUN apt-get update && \
git-core \
libsm6 \
libxext6 && \
pip3 install -U setuptools && \
python3 -m pip install -U pip && \
python3 -m pip install -U setuptools && \
ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime && \
dpkg-reconfigure -f noninteractive tzdata && \
add-apt-repository --remove ppa:mc3man/gstffmpeg-keep -y && \
@ -115,9 +116,9 @@ RUN if [ "$WITH_TESTS" = "yes" ]; then \
# Install and initialize CVAT, copy all necessary files
COPY cvat/requirements/ /tmp/requirements/
COPY supervisord.conf mod_wsgi.conf wait-for-it.sh manage.py ${HOME}/
RUN pip3 install --no-cache-dir -r /tmp/requirements/${DJANGO_CONFIGURATION}.txt
RUN python3 -m pip install --no-cache-dir -r /tmp/requirements/${DJANGO_CONFIGURATION}.txt
# pycocotools package is impossible to install with its dependencies by one pip install command
RUN pip3 install --no-cache-dir pycocotools==2.0.0
RUN python3 -m pip install --no-cache-dir pycocotools==2.0.0
# Install git application dependencies
RUN apt-get update && \
@ -156,7 +157,7 @@ COPY cvat-core/ ${HOME}/cvat-core
COPY tests ${HOME}/tests
COPY datumaro/ ${HOME}/datumaro
RUN sed -r "s/^(.*)#.*$/\1/g" ${HOME}/datumaro/requirements.txt | xargs -n 1 -L 1 pip3 install --no-cache-dir
RUN sed -r "s/^(.*)#.*$/\1/g" ${HOME}/datumaro/requirements.txt | xargs -n 1 -L 1 python3 -m pip install --no-cache-dir
# Binary option is necessary to correctly apply the patch on Windows platform.
# https://unix.stackexchange.com/questions/239364/how-to-fix-hunk-1-failed-at-1-different-line-endings-message

@ -33,5 +33,5 @@ apt-get update && apt-get install -y --no-install-recommends --allow-unauthentic
rm -rf /var/lib/apt/lists/* \
/etc/apt/sources.list.d/nvidia-ml.list /etc/apt/sources.list.d/cuda.list
pip3 uninstall -y tensorflow
pip3 install --no-cache-dir tensorflow-gpu==1.12.3
python3 -m pip uninstall -y tensorflow
python3 -m pip install --no-cache-dir tensorflow-gpu==1.15.0

@ -58,7 +58,7 @@ server. Proxy is an advanced topic and it is not covered by the guide.
```bash
sudo apt-get install -y python3-pip
sudo pip3 install docker-compose
sudo python3 -m pip install docker-compose
```
- Clone _CVAT_ source code from the

@ -40,7 +40,7 @@ django-rest-auth[with_social]==0.9.5
cython==0.29.13
matplotlib==3.0.3
scikit-image==0.15.0
tensorflow==1.12.3
tensorflow==1.15.0
keras==2.2.5
opencv-python==4.1.0.25
h5py==2.9.0

@ -6,17 +6,17 @@ As of OpenVINO 2019 R3, only tensorflow 1.13 and NetworkX 2.3.
These can be explicitly installed using the following command.
```bash
$ pip3 install tensorflow==1.13 networkx==2.3
python3 -m pip install tensorflow==1.13 networkx==2.3
```
Additionally, at the time of writing, the model optimizer required an input shape.
``` bash
$ python3 mo_tf.py \
--input_model /path/to/yolo_v3.pb \
--tensorflow_use_custom_operations_config $MO_ROOT/extensions/front/tf/yolo_v3.json \
--input_shape [1,416,416,3]
python3 mo_tf.py \
--input_model /path/to/yolo_v3.pb \
--tensorflow_use_custom_operations_config $MO_ROOT/extensions/front/tf/yolo_v3.json \
--input_shape [1,416,416,3]
```
[1]: https://docs.openvinotoolkit.org/latest/_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_YOLO_From_Tensorflow.html

@ -23,7 +23,7 @@ sudo apt-get install -y --no-install-recommends python3-pip python3-dev
```
``` bash
pip3 install -r requirements.txt
python3 -m pip install -r requirements.txt
```
### 2. Install the tensorflow object detection API
@ -38,12 +38,12 @@ git clone https://github.com/tensorflow/models.git
```
```bash
# install some dependencies
pip3 install --user Cython
pip3 install --user contextlib2
pip3 install --user pillow
pip3 install --user lxml
pip3 install --user jupyter
pip3 install --user matplotlib
python3 -m pip install --user Cython
python3 -m pip install --user contextlib2
python3 -m pip install --user pillow
python3 -m pip install --user lxml
python3 -m pip install --user jupyter
python3 -m pip install --user matplotlib
```
```bash
# clone and compile the cocoapi

Loading…
Cancel
Save