Files
deepmind-research/geomancer/run.sh
T
Alistair Muldal 20e06f144a Enable Travis tests for geomancer
* Added a flag to disable plotting when running headless on Travis

PiperOrigin-RevId: 368229292
2021-04-13 21:02:00 +01:00

22 lines
801 B
Bash
Executable File

#!/bin/sh
# Copyright 2020 DeepMind Technologies Limited.
#
# 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.
python3 -m venv /tmp/geomancer-venv
source /tmp/geomancer-venv/bin/activate
pip3 install -U pip
pip3 install geomancer/
python3 -m geomancer.geomancer_test
python3 geomancer/train.py --plot=False