feat: n7 tensorflow script

This commit is contained in:
Laureηt 2022-04-11 22:55:24 +02:00
parent 3054d73a85
commit 604fc5059b
No known key found for this signature in database
GPG key ID: D88C6B294FD40994

17
n7tensorflow.sh Normal file
View file

@ -0,0 +1,17 @@
# on se place dans les eaux internationales, loin des quotas
mkdir /tmp/deepl
cd /tmp/deepl
# pour CUDA tensorflow
export LD_LIBRARY_PATH=/applications/matlabr2021b/bin/glnxa64/:$LD_LIBRARY_PATH
# on installe un environnement virtuel python
python3 -m venv .env
source .env/bin/activate
python -m pip install pip tensorflow matplotlib numpy sklearn ipykernel jupterlab
# on inscrit le venv dans la liste des kernels ipython
python -m ipykernel install --user --name=.env
# on lance un notebook
jupyter-lab --no-browser --ip 0.0.0.0 --port 8888