<commit_before>FROM fjctp/armhf-ros-kinetic-base:latest

RUN apt-get update && apt-get install -y --no-install-recommends \
        build-essential \
        curl \
        libfreetype6-dev \
        libpng12-dev \
        libzmq3-dev \
        pkg-config \
        python \
        python-dev \
        python-numpy \
        python-scipy \
        python-pil \
        python-lxml \
        rsync \
        unzip \
        protobuf-compiler \
        ros-kinetic-cv-bridge \
        ros-kinetic-web-video-server

RUN  apt-get clean && \
        rm -rf /var/lib/apt/lists/*

RUN curl -O https://bootstrap.pypa.io/get-pip.py && \
    python get-pip.py && \
        rm get-pip.py

RUN pip --no-cache-dir install \
        ipykernel \
        jupyter \
        matplotlib && \
            python -m ipykernel.kernelspec

ADD tensorflow-0.10.0-cp27-none-linux_armv7l.whl .

RUN pip install tensorflow-0.10.0-cp27-none-linux_armv7l.whl

COPY models /tensorflow_models
RUN /bin/bash -c "cd /tensorflow_models && \
                  protoc object_detection/protos/*.proto --python_out=."

COPY jupyter_notebook_config.py /root/.jupyter/

# Copy sample notebooks.
COPY notebooks /notebooks

# Jupyter has issues with being run directly:
#   https://github.com/ipython/ipython/issues/7062<commit_msg>Fixed Dockerfile for new tensorflow version 1.1.0<commit_after>FROM fjctp/armhf-ros-kinetic-base:latest

RUN apt-get update && apt-get install -y --no-install-recommends \
        build-essential \
        curl \
        libfreetype6-dev \
        libpng12-dev \
        libzmq3-dev \
        pkg-config \
        python \
        python-dev \
        python-numpy \
        python-scipy \
        python-pil \
        python-lxml \
        rsync \
        unzip \
        protobuf-compiler \
        ros-kinetic-cv-bridge \
        ros-kinetic-web-video-server

RUN  apt-get clean && \
        rm -rf /var/lib/apt/lists/*

RUN curl -O https://bootstrap.pypa.io/get-pip.py && \
    python get-pip.py && \
        rm get-pip.py

RUN pip --no-cache-dir install \
        ipykernel \
        jupyter \
        matplotlib && \
            python -m ipykernel.kernelspec

ADD tensorflow-1.1.0-cp27-none-linux_armv7l.whl .

RUN pip install tensorflow-1.1.0-cp27-none-linux_armv7l.whl

COPY models /tensorflow_models
RUN /bin/bash -c "cd /tensorflow_models && \
                  protoc object_detection/protos/*.proto --python_out=."

COPY jupyter_notebook_config.py /root/.jupyter/

# Copy sample notebooks.
COPY notebooks /notebooks

# Jupyter has issues with being run directly:
#   https://github.com/ipython/ipython/issues/7062
{'fraction_non_alphanumeric': 0.11229946524064172, 'fraction_numerical': 0.017188693659281894, 'mean_word_length': 1.8191603875134554, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1750037', 'n_tokens_mistral': 957, 'n_tokens_neox': 914, 'n_words': 173}