feat: n7 tensorflow script
This commit is contained in:
parent
3054d73a85
commit
604fc5059b
17
n7tensorflow.sh
Normal file
17
n7tensorflow.sh
Normal 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
|
Loading…
Reference in a new issue