From b9d08679eb07f1a29ac03e1e0de401c32989a07c Mon Sep 17 00:00:00 2001
From: PNRIA - Julien <julien.rabault@irit.fr>
Date: Mon, 10 Oct 2022 15:45:07 +0200
Subject: [PATCH] Add init

---
 README.md        |  2 ++
 SuperTagger      |  1 -
 bash_GPU.sh      | 13 -------------
 init.sh          |  4 ++++
 requirements.txt |  1 +
 5 files changed, 7 insertions(+), 14 deletions(-)
 delete mode 160000 SuperTagger
 delete mode 100644 bash_GPU.sh

diff --git a/README.md b/README.md
index 991b1d9..f4f35ff 100644
--- a/README.md
+++ b/README.md
@@ -24,6 +24,8 @@ python3 -m venv env
 source env/bin/activate
 pip install -r requirements.txt
 
+git clone https://gitlab.irit.fr/pnria/global-helper/deepgrail_tagger
+
 mkdir Output
 mkdir TensorBoard
 ```
diff --git a/SuperTagger b/SuperTagger
deleted file mode 160000
index ce978e6..0000000
--- a/SuperTagger
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit ce978e6d389c6e126d162f86a4b627cda167313c
diff --git a/bash_GPU.sh b/bash_GPU.sh
deleted file mode 100644
index 9969220..0000000
--- a/bash_GPU.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-#SBATCH --job-name=Deepgrail_Linker
-#SBATCH --partition=RTX6000Node
-#SBATCH --gres=gpu:1
-#SBATCH --mem=32000
-#SBATCH --gres-flags=enforce-binding
-#SBATCH --error="error_rtx1.err"
-#SBATCH --output="out_rtx1.out"
-
-module purge
-module load singularity/3.0.3
-
-srun singularity exec /logiciels/containerCollections/CUDA11/pytorch-NGC-21-03-py3.sif python "train.py"
\ No newline at end of file
diff --git a/init.sh b/init.sh
index 991f866..12bc509 100644
--- a/init.sh
+++ b/init.sh
@@ -1,4 +1,8 @@
 pip install -r requirements.txt
 
+repository="https://gitlab.irit.fr/pnria/global-helper/deepgrail_tagger"
+
+git clone $repository
+
 mkdir Output
 mkdir TensorBoard
\ No newline at end of file
diff --git a/requirements.txt b/requirements.txt
index 18401ec..8d9f3ce 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -9,3 +9,4 @@ tensorboard==2.8.0
 torch==1.11.0
 tqdm==4.64.0
 transformers==4.19.0
+tensorflow==2.8.0
-- 
GitLab