From 602d4779354d492e2ccc4db8caf07969371b7fed Mon Sep 17 00:00:00 2001 From: mrq Date: Sat, 18 Feb 2023 02:46:44 +0000 Subject: [PATCH] crunchbangs --- setup-cuda.sh | 1 + setup-rocm.sh | 1 + setup-training.sh | 1 + start.sh | 1 + train.sh | 1 + update-force.bat | 2 +- update-force.sh | 3 ++- update.sh | 1 + 8 files changed, 9 insertions(+), 2 deletions(-) diff --git a/setup-cuda.sh b/setup-cuda.sh index 7c7d20b..2833293 100755 --- a/setup-cuda.sh +++ b/setup-cuda.sh @@ -1,3 +1,4 @@ +#!/bin/bash python -m venv venv source ./venv/bin/activate python -m pip install --upgrade pip diff --git a/setup-rocm.sh b/setup-rocm.sh index d79ae28..4a78c25 100755 --- a/setup-rocm.sh +++ b/setup-rocm.sh @@ -1,3 +1,4 @@ +#!/bin/bash python -m venv venv source ./venv/bin/activate python -m pip install --upgrade pip diff --git a/setup-training.sh b/setup-training.sh index 76c48a3..846cb2a 100755 --- a/setup-training.sh +++ b/setup-training.sh @@ -1,2 +1,3 @@ +#!/bin/bash git clone https://git.ecker.tech/mrq/DL-Art-School dlas python -m pip install -r ./dlas/requirements.txt \ No newline at end of file diff --git a/start.sh b/start.sh index 4b8f1d9..169b4d5 100755 --- a/start.sh +++ b/start.sh @@ -1,3 +1,4 @@ +#!/bin/bash source ./venv/bin/activate python3 ./src/main.py deactivate diff --git a/train.sh b/train.sh index 2840762..5e83e27 100755 --- a/train.sh +++ b/train.sh @@ -1,3 +1,4 @@ +#!/bin/bash source ./venv/bin/activate python3 ./src/train.py -opt "$1" deactivate diff --git a/update-force.bat b/update-force.bat index 0984917..d5c5c56 100755 --- a/update-force.bat +++ b/update-force.bat @@ -1,3 +1,3 @@ git fetch --all -git reset --hard origin/main +git reset --hard origin/master call .\update.bat \ No newline at end of file diff --git a/update-force.sh b/update-force.sh index 4db8623..1c94345 100755 --- a/update-force.sh +++ b/update-force.sh @@ -1,3 +1,4 @@ +#!/bin/bash git fetch --all -git reset --hard origin/main +git reset --hard origin/master ./update.sh \ No newline at end of file diff --git a/update.sh b/update.sh index 470ccab..9b66c1e 100755 --- a/update.sh +++ b/update.sh @@ -1,3 +1,4 @@ +#!/bin/bash git pull python -m venv venv source ./venv/bin/activate