Skip to content

Commit

Permalink
Merge pull request #36 from MortenTabaka/fix/remove-installing-tf-wit…
Browse files Browse the repository at this point in the history
…h-conda-from-guide

fix/remove-installing-tf-with-conda-from-guide
  • Loading branch information
MortenTabaka committed Aug 6, 2023
2 parents e64a51f + 814f244 commit 3db6c6c
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions INSTALLATION-CONDA.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,6 @@ pip install -r requirements.txt
mkdir -p $CONDA_PREFIX/etc/conda/activate.d
echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_PREFIX/lib/' > $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh
```
### Install Tensorflow with only CPU support
```
conda install -c anaconda tensorflow
```
### Install Tensorflow with GPU support
```
conda install -c anaconda tensorflow-gpu
```
#### Check installation
CPU:
```
Expand All @@ -57,20 +49,16 @@ Success of Tensorflow2's installation is highly depend on your OS and Nvidia dri
I will be experimenting with customizing [Tensorflow's Docker image](https://www.tensorflow.org/install/docker?hl=en), to create a docker image designed for this project.

### Register created Anaconda environment for Jupyter.
Alternatively modify IDE's default interpreter to use created Conda environment.
```
python -m ipykernel install --user --name tensorflow --display-name "Python 3.8 (tensorflow)"
```
Now you should be able to change kernel in Jupyter Notebook.
#### Create dataset and install pip packages with one command
```
make dataset
```
*During the process, pip packages specified in requirements.txt, will be installed.*

### [Notebook for checking installation](https://github.com/MortenTabaka/main/notebooks/testing/check_tensorflow_installation.ipynb)
Filepath: `/notebooks/testing/check_tensorflow_installation.ipynb`
### [Notebook for checking installation](https://github.com/MortenTabaka/Semantic-segmentation-of-LandCover.ai-dataset/blob/main/notebooks/verify_installation.ipynb)
`/notebooks/verify_installation.ipynb`

# My environemnt
# My environment
## OS
* Debian 12

Expand Down

0 comments on commit 3db6c6c

Please sign in to comment.