https://github.com/GPflow/GPflow
Revision 5bde0a4609136061c86e1c64c7b2cd74ce5c3990 authored by st-- on 18 June 2019, 10:52:07 UTC, committed by GitHub on 18 June 2019, 10:52:07 UTC
* Modified Saver to work with file-like objects as well as path names.

This required updating h5py>=2.9.0
Updated tests to test this.
Also removed some unused imports.
1 parent 125846f
Raw File
Tip revision: 5bde0a4609136061c86e1c64c7b2cd74ce5c3990 authored by st-- on 18 June 2019, 10:52:07 UTC
Modified Saver to work with file-like objects as well as path names. (#912)
Tip revision: 5bde0a4
Dockerfile
# Copyright 2016 The GPflow authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#USAGE:
#To run from prebuilt version use:
#docker run -it -p 8888:8888 gpflow/gpflow

#To replicate build use:
#docker build -t gpflow/gpflow .
#Assumes you are running from within cloned repo.

#Uses official Tensorflow docker for cpu only.
FROM tensorflow/tensorflow:1.12.0
COPY ./ /usr/local/GPflow/

RUN cd /usr/local/GPflow && \
    python setup.py develop && \
    rm /notebooks/*  && \
    apt-get clean  && \
    rm -rf /var/lib/apt/lists/*

COPY doc/source/notebooks/ LICENSE README.md /notebooks/
back to top