You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To use BiaPy via the command line, you will need to set up a ``conda`` environment. To do this, you will first need to install <ahref="https://docs.conda.io/projects/conda/en/stable/"target="_blank"rel="noopener noreferrer">Conda</a>. Then you need to create a ``conda`` environment <ahref="/add_ins/#open_terminal">through a terminal</a>:
122
122
123
123
```bash
124
-
conda create -n BiaPy_env python=3.10
125
-
conda activate BiaPy_env
126
-
```
127
-
128
-
Then you will need to install <ahref="https://pypi.org/project/biapy/"target="_blank"rel="noopener noreferrer">BiaPy package</a> and <ahref="https://pytorch.org/get-started/locally/"target="_blank"rel="noopener noreferrer">Pytorch</a>:
129
-
130
-
```bash
131
-
# Pytorch installation with GPU support: Pytorch 2.4.0 + CUDA 11.8
The PyPI package does not install <ahref="https://pytorch.org/get-started/locally/"target="_blank"rel="noopener noreferrer">Pytorch</a> because there is no option to build that package specifying exactly the CUDA version you want to use. There are a few solutions to set up ``pyproject.toml`` with poetry and specify the CUDA version, as discussed <ahref="https://github.com/python-poetry/poetry/issues/6409"target="_blank"rel="noopener noreferrer">here</a>, but then PyPI package can not be built (as stated <ahref="https://peps.python.org/pep-0440/#direct-references"target="_blank"rel="noopener noreferrer">here</a>).
142
-
143
127
<!-- command_line_installation option 1 -->
144
128
{% endtab %}
145
129
@@ -154,45 +138,10 @@ If you don't have ``conda`` installed you can download <a href="https://github.c
154
138
conda install mamba -n base -c conda-forge
155
139
```
156
140
157
-
Afterwards, create a new <ahref="https://docs.conda.io/projects/conda/en/stable/"target="_blank"rel="noopener noreferrer">Conda</a> environment with Python 3.10:
158
-
159
-
```bash
160
-
mamba create -n BiaPy_env python=3.10
161
-
mamba activate BiaPy_env
162
-
```
163
-
164
-
Now you need to install <ahref="https://pytorch.org/get-started/locally/"target="_blank"rel="noopener noreferrer">Pytorch</a> and related packages. Double check <ahref="https://pytorch.org/get-started/locally/"target="_blank"rel="noopener noreferrer">Pytorch's official page</a> for its specific installation. For example, to install the lastest version of <ahref="https://pytorch.org/get-started/locally/"target="_blank"rel="noopener noreferrer">Pytorch</a> with ``conda`` installation in Windows OS under CUDA 12.1:
Afterwards, create a new <ahref="https://docs.conda.io/projects/conda/en/stable/"target="_blank"rel="noopener noreferrer">Conda</a> environment with BiaPy:
0 commit comments