Setup¶
DeePCK is available for Python 3.8+ on Linux, macOS and Windows.
Install with conda¶
Install
numpyand visualization packages for basic usage.
conda install numpy matplotlib seaborn
DeePCK depends on
cantera, so usecantera/label/devchannel to installcantera.
conda install --channel cantera/label/dev cantera
The implementation of Model Module is based on the deep learning framework
pytorch, installpytorchCPU version viaconda.
conda install pytorch
Note: if you prefer training the DNN model on GPU, you might need to install
pytorchGPU version. The GPU version requires compatible NVIDIA drivers to be installed already. Therefore, check the CUDA driver version on your platform and see the installation guide on Pytorch offical website. For CUDA version 10.1, run the command for instance:
conda install pytorch=1.7 torchvision cudatoolkit=10.1 -c pytorch
easydictallows to access dict values as attributes and then install it viaconda:
conda install -c conda-forge easydict
or via pip :
pip install easydict
(optional) If you are working on the HPC Clusters scheduled with slurm system, it is highly recommended to install
mpi4pyfor massive parallelization viaconda(especielly for Data Module). Check mpi4py documentation for more instruction.
conda install -c conda-forge mpi4py openmpi
Install with docker¶
To be continued.