Use Miniconda for the easiest way to setup an environment.
- Install Miniconda (make sure to use a Python 3 version)
- After setting up miniconda you can make use of the
condacommand in your command line (Powershell, CMD, Bash) - We suggest that you set up a dedicated environment for this project by running
conda env create -f environment.yml- This will setup a virtual conda environment with all necessary dependencies.
- If your device does have a GPU replace
tensorflowwithtensorflow-gpuin theenvironement.yml
- Depending on your operating system you can activate the virtual environment with
conda activate replearnon Linux and macOS, andactivate adon Windows (cmdonly). - If you want to make use of a GPU, you must install the CUDA Toolkit. To install the CUDA Toolkit on your computer refer to the TensorFlow installation guide.
- If you want to quickly install the
replearnpackage, runpip install -e .inside the root directory. - Now you can start the notebook server by
jupyter notebook notebooks.
Check the notebooks directory for example Jupyter Notebooks.