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

Imrove font size of windows WeAI instructions

parent 3c4f6194
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -92,7 +92,7 @@ and install Mambaforge. We recommend to leave the default settings especially to
\begin{minipage}{0.37\linewidth}
\includegraphics[width=\linewidth]{images/mambaforge-start-menu-prompt}
\end{minipage}%
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\footnotesize]
\begin{lstlisting}[gobble=2]
#*\color{gray}(base) C:\textbackslash Users\textbackslash john>*
\end{lstlisting}
Now we are ready to install the packages we need.
......@@ -100,6 +100,7 @@ Now we are ready to install the packages we need.
\section{Packages}
\label{sec:packages}
Let's create a new environment called \textit{weai} and add the packages we need to it (copy \& paste black text lines):
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\footnotesize]
......@@ -109,12 +110,12 @@ Let's create a new environment called \textit{weai} and add the packages we need
pyarrow pandas
\end{lstlisting}
You will get a list of packages and can confirm with \keyenter. Installation takes a while. Since \lstinline|tensorflow| is not yet available for Windows on \texttt{conda-forge}, we need to install it from \textit{PyPI} using \lstinline|pip| into the \textit{weai} environment:
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\footnotesize]
\begin{lstlisting}[gobble=2]
#*\color{gray}(base) C:\textbackslash Users\textbackslash john>*mamba activate weai
#*\color{gray}(weai) C:\textbackslash Users\textbackslash john>*pip install tensorflow==2.10.1
\end{lstlisting}
If you have an NVIDIA GPU and want to activate support for it, install the following packages:
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\footnotesize]
\begin{lstlisting}[gobble=2]
#*\color{gray}(weai) C:\textbackslash Users\textbackslash john>*mamba install cudatoolkit cudnn
\end{lstlisting}
and optionally (not required for Spyder) also add the path to the corresponding libraries (e.\,g.\ \textit{cudnn64\_8.dll}) in your user environment variable \lstinline|Path|, for example:
......@@ -125,6 +126,7 @@ and optionally (not required for Spyder) also add the path to the corresponding
\section{Test}
\label{sec:test}
\begin{minipage}{0.6\linewidth}
Next, we start Spyder from the start menu. The entry is named \textit{Spyder (weai)}, since we installed Spyder into the \textit{weai} environment.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment