-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from Rappsilber-Laboratory/rework-dependencies
simplify repository
- Loading branch information
Showing
30 changed files
with
33,465 additions
and
60,672 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ snakemake | |
.Python | ||
pipenv | ||
build/ | ||
sample_run/ | ||
results/ | ||
tests/results/ | ||
intern_data/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,32 @@ | ||
Installation | ||
============== | ||
To install xiRT simply run the command below. We recommend to use an isolated python environment, | ||
for example by using pipenv or conda. | ||
|
||
Pipenv | ||
****** | ||
To use pipenv as package manager, first make sure that pipenv is installed and run:: | ||
#### Installation | ||
To install xiRT simply run the command below. We recommend to use an isolated python environment, | ||
for example by using pipenv **or** conda. Installation should finish within minutes. | ||
|
||
Using pipenv: | ||
>pipenv shell | ||
> | ||
>pip install xirt | ||
|
||
conda | ||
***** | ||
|
||
To enable CUDA support, the easiest thing is to create a conda environment. Conda will take care of | ||
the CUDA libraries and other dependencies:: | ||
To enable CUDA support, using a [conda environment](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-with-commands) is the easiest solution. | ||
Conda will take care of the CUDA libraries and other dependencies. Note, xiRT runs either on CPUs | ||
or GPUs. To use a GPU specify CuDNNGRU/CuDNNLSTM as type in the LSTM settings, to use a CPU set the | ||
type to GRU/LSTM. | ||
|
||
>conda create --name xirt_env python=3.7 | ||
> conda create --name xirt_env python=3.8 | ||
> | ||
>conda activate xirt_env | ||
>pip install xirt | ||
>conda install tensorflow-gpu | ||
> | ||
> pip install xirt | ||
|
||
|
||
Hint | ||
***** | ||
pydot and graphviz sometimes make trouble when they are installed via pip. If on debian, | ||
Hint: | ||
The plotting functionality for the network is not enabled per default because | ||
pydot and graphviz sometimes make trouble when they are installed via pip. If on linux, | ||
simply use *sudo apt-get install graphviz*, on windows download latest graphviz package from | ||
[here](https://www2.graphviz.org/Packages/stable/windows/), unzip the content of the file, and then | ||
add the *bin* directory from the graphviz folder to the windows PATH variable. | ||
[here](https://www2.graphviz.org/Packages/stable/windows/), unzip the content of the file and the | ||
*bin* directory path to the windows PATH variable. These two packages allow the visualization | ||
of the neural network architecture. xiRT will function also without this functionality. | ||
|
||
Older versions of TensorFlow will require the separate installation of tensorflow-gpu. We recommend | ||
to install tensorflow in conda, especially if GPU usage is desired. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.