From fbb3e36899121c6fe266b85371d3117d02b40529 Mon Sep 17 00:00:00 2001 From: server Date: Fri, 21 Feb 2020 18:58:21 -0700 Subject: [PATCH] Tensorflow 2.1 install --- README.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 82d0b15..17376b9 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Learn more at kstaats.github.io/kar # Debian Install -To install on Debian (Buster, Stable, 10): +To install on Debian (Buster/Stable/10): ``` # Install Dependencies: @@ -42,3 +42,30 @@ pip3 install numpy==1.16.4 sympy==1.4 tensorflow==1.13.1 scikit-learn==0.21.2 python3 karoo_gp.py ``` +# Tensorflow 2 Install +Using karoo_gp with Tensorflow 2 on Debian (Buster/Stable/10). + +``` +# Install Dependencies: +sudo apt install python3 python3-pip python3-venv + +# Clone repo (choose this one or upstream): +# git clone https://github.com/kstaats/karoo_gp +git clone https://spacecruft.org/spacecruft/karoo_gp + +# Setup +cd karoo_gp +python3 -m venv .venv +source .venv/bin/activate + +pip3 install --upgrade pip +pip3 install --upgrade setuptools + +# Install python dependencies +pip3 install wheel +# This will install Tensorflow 2.1: +pip3 install tensorflow + +# Run application +python3 karoo_gp.py +```