... | @@ -121,4 +121,67 @@ conda activate fidle |
... | @@ -121,4 +121,67 @@ conda activate fidle |
|
jupyter lab
|
|
jupyter lab
|
|
```
|
|
```
|
|
|
|
|
|
|
|
## Annexe 2 - Install with conda / MacBook Pro (2019)
|
|
|
|
Thanks to Thierry G.
|
|
|
|
|
|
|
|
## 1) Install conda or miniconda:
|
|
|
|
Actual version python 3.9 fonctions perfectly
|
|
|
|
|
|
|
|
(see [anaconda web site](https://www.anaconda.com/products/individual))
|
|
|
|
|
|
|
|
## 2) Configure conda:
|
|
|
|
|
|
|
|
```
|
|
|
|
conda create -n fidle23 python=3.9
|
|
|
|
conda activate fidle23
|
|
|
|
pip install tensorflow
|
|
|
|
conda install pytorch torchvision torchaudio -c pytorch
|
|
|
|
pip install Scikit-image Scikit-learn Matplotlib plotly barviz Pandas Pandoc pyyaml Jupyterlab fidle
|
|
|
|
|
|
|
|
# to keep a trace of the installed modules
|
|
|
|
conda list -e > fidle_requirements2023.txt
|
|
|
|
|
|
|
|
```
|
|
|
|
## 2) Prepare environment:
|
|
|
|
|
|
|
|
```
|
|
|
|
mkdir ~/Documents/fidle-tp
|
|
|
|
cd ~/Documents/fidle-tp/
|
|
|
|
fid install --quiet
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## 3) Declare FIDLE_DATASETS_DIR=
|
|
|
|
|
|
|
|
**Procedure for the [fish](https://fishshell.com) shell**
|
|
|
|
(Must be adapted to other shells)
|
|
|
|
|
|
|
|
```
|
|
|
|
nano ~/.config/fish/config.fish
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
## 4) Set up path required for the fidle training:
|
|
|
|
|
|
|
|
```
|
|
|
|
# PATH required for the fidle training
|
|
|
|
set -gx FIDLE_DATASETS_DIR ~/Documents/fidle-tp/datasets-fidle/
|
|
|
|
|
|
|
|
```
|
|
|
|
Close the config.fish file, then
|
|
|
|
|
|
|
|
```
|
|
|
|
source ~/.config/fish/config.fish
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
## 5) Start Jupyter Lab
|
|
|
|
|
|
|
|
```
|
|
|
|
(conda activate fidle23) # if active environment is not already fidle23
|
|
|
|
jupyter lab &
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
[Back to the install procedure](Using Fidle/install fidle) |
|
[Back to the install procedure](Using Fidle/install fidle) |
|
|
|
\ No newline at end of file |