Update README.md

Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
David Rotermund 2023-12-08 14:09:47 +01:00 committed by GitHub
parent b99d08b356
commit 7ec55adf08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,6 +63,8 @@ This is an optional topic!
The question is: Is numba broken in the moment or not? First we install numpy and then numba. We will observe if numba tried to change the numpy version.
### Windows
```shell
pip install numpy
```
@ -77,16 +79,45 @@ If so then you have to decide if you want to remove numba and the downgraded num
pip uninstall numpy numba
```
### Linux
```shell
cd /home/[YOURUSERNAME]/P3.11/bin
./pip install numpy
```
```shell
cd /home/[YOURUSERNAME]/P3.11/bin
./pip install numba
```
If so then you have to decide if you want to remove numba and the downgraded numpy version before continuing. I would remove it!
```shell
cd /home/[YOURUSERNAME]/P3.11/bin
./pip uninstall numpy numba
```
|Package||
|---|---|
|numba|[Numba is an open source JIT compiler that translates a subset of Python and NumPy code into fast machine code.](https://numba.pydata.org/)|
## Basic Packages you want to install
### Windows
```shell
pip3 install numpy scipy pandas flake8 pep8-naming black matplotlib seaborn ipython jupyterlab mypy dataclasses-json dataconf ipympl pywavelets scikit-image opencv-python scikit-learn tqdm argh sympy jsmin pybind11 pybind11-stubgen pigar asciichartpy natsort ipykernel
```
### Linux
```shell
cd /home/[YOURUSERNAME]/P3.11/bin
./pip3 install numpy scipy pandas flake8 pep8-naming black matplotlib seaborn ipython jupyterlab mypy dataclasses-json dataconf ipympl pywavelets scikit-image opencv-python scikit-learn tqdm argh sympy jsmin pybind11 pybind11-stubgen pigar asciichartpy natsort ipykernel
```
|Package||
|---|---|
|numpy|[The fundamental package for scientific computing with Python](https://numpy.org/)|
@ -124,18 +155,36 @@ pip3 install numpy scipy pandas flake8 pep8-naming black matplotlib seaborn ipyt
**Note: Even if you don't want to use TensorFlow, you want to install it too due to the tensorboard package.** Tensorboard allows to track the progress during learning.
#### CPU only
#### Windows
##### CPU only
```shell
pip3 install torch torchvision torchaudio torchtext
```
#### NVidia GPU
##### NVidia GPU
```shell
pip3 install torch torchvision torchaudio torchtext --index-url https://download.pytorch.org/whl/cu121
```
#### Linux
##### CPU only
```shell
cd /home/[YOURUSERNAME]/P3.11/bin
./pip3 install torch torchvision torchaudio torchtext --index-url https://download.pytorch.org/whl/cpu
```
##### NVidia GPU
```shell
cd /home/[YOURUSERNAME]/P3.11/bin
./pip3 install torch torchvision torchaudio torchtext
```
|Package||
|---|---|
|torch|[PyTorch is a Python package that provides two high-level features: a. Tensor computation (like NumPy) with strong GPU acceleration b. Deep neural networks built on a tape-based autograd system](https://pytorch.org/)|