The pre-train weights and source code will be released on GitHub and Hugging Face after the manuscript is accepted.
You can view the Loki2 website and notebooks here. This README provides a quick overview of how to set up and use Loki2.
All source code for Loki2 is contained in the ./src/loki2 directory.
The source code will be released on GitHub and Hugging Face after the manuscript is accepted.
Please organize your project folders as follows:
.
├── src/ # Source code for Loki2
├── model_ckpt/ # Pretrained Loki2 model weights
├── data/ # Input data files
├── notebooks/ # Jupyter notebooks for tutorials and examples
└── outputs/ # Output files and results
-
Create a conda environment:
conda env create -f environment.yaml conda activate loki2_env
-
Navigate to the Loki source directory and install Loki2:
cd ./src pip install .
Once Loki2 is installed, you can import it in your Python scripts or notebooks:
import loki2.preprocess
import loki2.plot
import loki2.retrieve
import loki2.psdtime
import loki2.immstain
import loki2.milThe pretrained weights will be released on GitHub and Hugging Face after the manuscript is accepted.
