Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 730 Bytes

README.md

File metadata and controls

40 lines (31 loc) · 730 Bytes

Install environment

MacOS

conda env create -f environment_macos.yml

Linux

  • Create env:
conda create --name solar --file requirements.txt

If you using macos or windows, alternative install:

conda create --name solar python=3.10.9 -y
conda run -n solar python -m pip install -r requirements_docker.txt -y
  • activate env
conda activate solar

Run code

Run jupyter notebook

jupyter notebook

Docker

If you have nvidia videocard:

sudo docker build . -t solar:latest
sudo sudo docker run --gpus all --interactive --tty -v ${pwd}/docker_folder:/home/user/docker/ solar:latest