diff --git a/anleitung_linux_openai-gym.pdf b/anleitung_linux_openai-gym.pdf index 68f0b4bea656d293a171c06cdd985e6553457531..1b924d675d9998eb64dfbe5181908cc963e96157 100644 Binary files a/anleitung_linux_openai-gym.pdf and b/anleitung_linux_openai-gym.pdf differ diff --git a/anleitung_linux_openai-gym.tex b/anleitung_linux_openai-gym.tex index f53752494b82ae19270db1ca8c99db7164f7c57c..efdafb513da0423f6e9a61cfcee681d6ee1e3ceb 100644 --- a/anleitung_linux_openai-gym.tex +++ b/anleitung_linux_openai-gym.tex @@ -182,7 +182,7 @@ Wir haben Spyder bereits in der Conda-Umgebung \lstinline|ml| installiert. Als n mamba activate ml #*\color{cyan}\# \itshape sicherstellen, dass Sie in der 'ml' Umgebung sind* spyder & \end{lstlisting} -Alternativ können Sie auch die Desktop-Datei (\textattachfile{attachments/Spyder-ml.desktop}{Anhang}|\href{https://gitlab.cvh-server.de/ckaufmann/install-python-tensorflow-gym/-/raw/master/attachments/Spyder-ml.desktop?inline=false}{Web}) zum Starten per Doppelklick verwenden. Passen Sie darin noch den Pfad zum Icon an (Beispielbenutzername ist \texttt{john}) und machen Sie die Datei ausführbar. Kopieren Sie dann die Datei in Ihr Desktopverzeichnis (oft \lstinline|~/Schreibtisch/|). Wenn Sie Spyder zusätzlich zum Desktop auch im Startmenü sehen wollen, kopieren Sie die Datei noch nach \lstinline|~/.local/share/applications/|. +Alternativ können Sie auch die Desktop-Datei (\textattachfile{attachments/Spyder-ml.desktop}{Anhang}|\href{https://gitlab.cvh-server.de/ckaufmann/install-python-tensorflow-gym/-/raw/master/attachments/Spyder-ml.desktop?inline=false}{Web}) zum Starten per Doppelklick verwenden. Entfernen Sie ggf.\ die Dateiendung \texttt{.download}, sodass die Dateiendung \texttt{.desktop} lautet. Passen Sie darin noch den Pfad zum Icon an (Beispielbenutzername ist \texttt{john}) und machen Sie die Datei ausführbar. Kopieren Sie dann die Datei in Ihr Desktopverzeichnis (oft \lstinline|~/Schreibtisch/|). Wenn Sie Spyder zusätzlich zum Desktop auch im Startmenü sehen wollen, kopieren Sie die Datei noch nach \lstinline|~/.local/share/applications/|. Spyder öffnet sich nun. Wenn Sie die Plots lieber in eigenständigen Fenster angezeigt haben wollen, sodass sie zoomen können, wählen sie unter \textit{Tools} $\rightarrow$ \textit{Preferences} $\rightarrow$ \textit{IPython console} $\rightarrow$ \textit{Graphics} $\rightarrow$ \textit{Backend} den Eintrag \textit{Automatic}. Anschließend müssen Sie evtl.\ Spyder schließen und erneut starten. \vspace{-1ex} diff --git a/instructions_linux_ana2.pdf b/instructions_linux_ana2.pdf index f97d857cc89a1a6141b213aad59b08eceed8f4d6..cde6aa12befb288bd2048b1adc40da94c8c1ee63 100644 Binary files a/instructions_linux_ana2.pdf and b/instructions_linux_ana2.pdf differ diff --git a/instructions_linux_ana2.tex b/instructions_linux_ana2.tex index 9185da07b5fc2682599dc00746b1797fb72b2796..0de6cd701828874343bbf90a20fc034786f3e674 100644 --- a/instructions_linux_ana2.tex +++ b/instructions_linux_ana2.tex @@ -135,7 +135,7 @@ When it's finished, let's start spyder \begin{lstlisting}[gobble=2] spyder & \end{lstlisting} -Alternatively, you can use the desktop file (\textattachfile{attachments/Spyder-base.desktop}{attachment}|\href{https://gitlab.cvh-server.de/ckaufmann/install-python-tensorflow-gym/-/raw/master/attachments/Spyder-base.desktop?inline=false}{web}) to start it by double-clicking. Fix the path to the icon (example username is \texttt{john}) and make the file executable. Then copy it to your desktop folder (usually \lstinline|~/Desktop/|). If you want to see Spyder in the start menu in addition to the desktop, copy the file to \lstinline|~/.local/share/applications/|. +Alternatively, you can use the desktop file (\textattachfile{attachments/Spyder-base.desktop}{attachment}|\href{https://gitlab.cvh-server.de/ckaufmann/install-python-tensorflow-gym/-/raw/master/attachments/Spyder-base.desktop?inline=false}{web}) to start it by double-clicking. If necessary, remove the file extension \texttt{.download} so that the file extension is \texttt{.desktop}. Fix the path to the icon (example username is \texttt{john}) and make the file executable. Then copy it to your desktop folder (usually \lstinline|~/Desktop/|). If you want to see Spyder in the start menu in addition to the desktop, copy the file to \lstinline|~/.local/share/applications/|. The Spyder window opens now. Set the graphics backend to \textit{Automatic} and click \textit{OK}, as shown here: \vspace{-1ex} diff --git a/instructions_linux_weai.pdf b/instructions_linux_weai.pdf index 65ede547a3556125d2ac85e5b22a35307b33a7ee..e27a170dae3e7e7d5239e34cfacd0fd2c1d4b8d1 100644 Binary files a/instructions_linux_weai.pdf and b/instructions_linux_weai.pdf differ diff --git a/instructions_linux_weai.tex b/instructions_linux_weai.tex index 155fb2a2c0ce0f28ed36de34b4be6c51f34b7b85..d963e6686433eb168af8cbcde4d09d1efb9dd333 100644 --- a/instructions_linux_weai.tex +++ b/instructions_linux_weai.tex @@ -130,7 +130,7 @@ You will get a list of packages and can confirm with \keyenter. Installation tak conda activate weai spyder & \end{lstlisting} -Alternatively, you can use the desktop file (\textattachfile{attachments/Spyder-weai.desktop}{attachment}|\href{https://gitlab.cvh-server.de/ckaufmann/install-python-tensorflow-gym/-/raw/master/attachments/Spyder-weai.desktop?inline=false}{web}) to start it by double-clicking. Fix the path to the icon (example username is \texttt{john}) and make the file executable. Then copy it to your desktop folder (usually \lstinline|~/Desktop/|). If you want to see Spyder in the start menu in addition to the desktop, copy the file to \lstinline|~/.local/share/applications/|. +Alternatively, you can use the desktop file (\textattachfile{attachments/Spyder-weai.desktop}{attachment}|\href{https://gitlab.cvh-server.de/ckaufmann/install-python-tensorflow-gym/-/raw/master/attachments/Spyder-weai.desktop?inline=false}{web}) to start it by double-clicking. If necessary, remove the file extension \texttt{.download} so that the file extension is \texttt{.desktop}. Fix the path to the icon (example username is \texttt{john}) and make the file executable. Then copy it to your desktop folder (usually \lstinline|~/Desktop/|). If you want to see Spyder in the start menu in addition to the desktop, copy the file to \lstinline|~/.local/share/applications/|. The Spyder window opens now. Open the test script \texttt{mnistKeras.py} (\textattachfile{attachments/mnistKeras.py}{attachment}|\href{https://gitlab.cvh-server.de/ckaufmann/install-python-tensorflow-gym/-/raw/master/attachments/mnistKeras.py?inline=false}{web}) and run it by pressing \keystroke{F5} or clicking on the green play button or by using the menu \textit{Run} $\rightarrow$ \textit{Run}. \vspace{-1ex}