Skip to content
Snippets Groups Projects
Commit 9089dc26 authored by bisig daniel - dbisig's avatar bisig daniel - dbisig
Browse files

replaced a missing image, extended the Anaconda installation Readme, started Data Readme

parent f0e62200
No related branches found
No related tags found
No related merge requests found
# AI-Toolbox - Data
\ No newline at end of file
......@@ -4,13 +4,13 @@ Many tools in the AI-Toolbox are written in the Python programming language. Pyt
Anaconda can be downloaded for free from [here](https://www.anaconda.com/download/success). The installer for Anaconda can be executed with default options. Once Anaconda has been installed, the Anaconda terminal becomes available.
Under MacOS, the regular Terminal application is at a same an Anaconda terminal. Accordingly, to start the Anaconda terminal on MacOS, simply start the regular Terminal application. You can verify that this application also behaves as an Anaconda terminal by the presence of the string "(base)" at the beginning of the terminal prompt.
Under MacOS, the regular Terminal application is at a same an Anaconda terminal. Accordingly, to start the Anaconda terminal on MacOS, simply start the regular Terminal application. You can verify that this application also behaves as an Anaconda terminal by the presence of the string "(base)" at the beginning of the terminal prompt. Under Windows, the Anaconda terminal is its own application. You can start it from the Start Menu by typing "Anaconda Prompt".
| ![Anaconda_Terminal_MacOS](docs_media/Anaconda_Terminal_MacOS.png) | <img src="docs_media/Anaconda_Terminal_Windows.png" alt="Anaconda_Terminal_Windows" style="zoom:80%;" /> |
| ------------------------------------------------------------ | ------------------------------------------------------------ |
| The normal Terminal App on MacOS with Anaconda installed. | The Anaconda Terminal under Windows. |
Under Windows, the Anaconda terminal is its own application. You can start it from the Start Menu by typing "Anaconda Prompt".
![Anaconda_Terminal_Windows](docs_media/Anaconda_Terminal_Windows.png)
There exist a number of commands that are specific for the Anaconda terminal. These commands are used for creating or deleting environments, installing packages, or conduct other environment specific activities. All these commands start with "conda" and are then followed by keywords and parameters that are specific for each functionality. Included in this repository are two documents that list the most popular conda commands: the document "conda_commands.txt" is a very brief overview of those conda commands are likely useful to install and use the "Premiere" environment. The document "coonda-cheatsheet.pdf" is a more exhaustive overview over all conda commands.
......@@ -18,13 +18,35 @@ The main Anaconda environment to run Python programs in the AI-Toolbox is named
## Create the Environment by Executing a Script
The installer script that is specific for MacOS is named "premiere_macos_cpu_install.sh".
There exist three installer scripts for setting up the Premiere Anaconda environment.
- premiere_macos_cpu_install.sh
- premiere_windows_cuda11.8_install.bat
- premiere_windows_cpu_install.bat
The shell script entitled "premiere_macos_cpu_install.sh" can be used under MacOS. The batch scripts entitled "premiere_windows_cuda11.8_install.bat" and "premiere_windows_cpu_install.bat" can be used under Windows on PCs that are equipped with a Nvidia GPU or not, respectively. Executing the shell script under MacOS by double clicking on the script file in the Finder is only possible after configuring the Finder to open all files ending on ".sh" with the Terminal App. This can be done by selecting one shell file and change some settings in its corresponding info window (simultaneously press ⌘ and "i" keyboard keys). For the "Open with" application, chose the Terminal.app, and then press the "Change All" button to have this take effect for all shell files.
## Create the Environment by Importing an Exported Environment
The Premiere Anaconda environment can also be installed from an existing environment that has been exported as a ".yml" file. There such files exist, one for MacOS, one for Windows with GPU support, and one for Windows without GPU support:
- premiere_macos_cpu_install.yml
- premiere_windows_cuda11.8_install.yml
- premiere_windows_cpu_install.yml
To install a new Premiere Anaconda environment from one of these files, proceed as follows.
1. Open an Anaconda Terminal
2. In the terminal, change in the Installer directory of this repository
3. Execute the terminal command: conda env create -f *FILE_NAME* where *FILE_NAME* is replaced with the name of one of the three .yml files mentioned above.
## Create the Environment Manually
The Premiere Anaconda environment can also be installed manually. This can be useful if the two previously listed installation options don't work or if more flexibility is required in selecting python packages and versions than is possible through an automated installation. The following three files describe the manual installation procedure for MacOS, Windows with GPU support, and Windows without GPU support:
- premiere_macos_cpu_install.txt
- premiere_windows_cuda11.8_install.txt
- premiere_windows_cpu_install.txt
Installers/docs_media/Anaconda_Terminal_MacOS.png

61.2 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment