Skip to content
Snippets Groups Projects
Commit 8e17fdbf authored by Christof Kaufmann's avatar Christof Kaufmann
Browse files

Add optuna, plotly and keep keras2 in linux WeAI instructions

parent a3d12323
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
\usepackage[color=blue, author={Christof Kaufmann}]{attachfile2} % load after hyperref to avoid option clash from unicode=true \usepackage[color=blue, author={Christof Kaufmann}]{attachfile2} % load after hyperref to avoid option clash from unicode=true
\title{Installation of Python via Miniforge for Linux} \title{Installation of Python via Miniforge for Linux}
\date{December 2023} \date{August 2024}
\author{Christof Kaufmann} \author{Christof Kaufmann}
% one infinite page, https://tex.stackexchange.com/a/19241/115883 % one infinite page, https://tex.stackexchange.com/a/19241/115883
...@@ -119,11 +119,12 @@ Now we are ready to install the packages we need. ...@@ -119,11 +119,12 @@ Now we are ready to install the packages we need.
\section{Packages} \section{Packages}
Let's create a new environment called \textit{weai} and add the packages we need to it. Let's create a new environment called \textit{weai} and add the packages we need to it.
\textit{For GPU support replace \lstinline|tensorflow| by \lstinline|tensorflow-gpu=2.10| in the command below. This requires a recent propriatary NVIDIA driver installed via \lstinline|apt|, e.\,g.\ for Ubuntu \lstinline|nvidia-driver-510| or similar should be enough. For Debian \lstinline|nvidia-driver| might work (requires \lstinline|contrib| and \lstinline|non-free| in \lstinline|sources.list|).} \textit{For GPU support replace \lstinline|'tensorflow<2.16'| by \lstinline|'tensorflow-gpu=2.10'| in the command below. This requires a recent propriatary NVIDIA driver installed via \lstinline|apt|, e.\,g.\ for Ubuntu \lstinline|nvidia-driver-510| or similar should be enough. For Debian \lstinline|nvidia-driver| might work (requires \lstinline|contrib| and \lstinline|non-free| in \lstinline|sources.list|).}
\begin{lstlisting}[gobble=2] \begin{lstlisting}[gobble=2]
mamba create -n weai python=3.10 tensorflow spyder jupyter ipympl \ mamba create -n weai python=3.10 'tensorflow<2.16' spyder jupyter \
matplotlib seaborn tqdm mypy scikit-learn \ matplotlib seaborn tqdm mypy scikit-learn \
pandas openpyxl odfpy pyarrow notebook pandas openpyxl odfpy pyarrow notebook \
optuna plotly ipympl
\end{lstlisting} \end{lstlisting}
You will get a list of packages and can confirm with \keyenter. Installation takes a while. Let's change into the \textit{weai} environment and start spyder You will get a list of packages and can confirm with \keyenter. Installation takes a while. Let's change into the \textit{weai} environment and start spyder
\begin{lstlisting}[gobble=2] \begin{lstlisting}[gobble=2]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment