A toy based on libtorch API.
This project is managed by Pixi. Before moving on, please ensure it is installed already.
Target platform: linux-64
Target device: cpu
Get dataset and do preprocess:
pixi install -e dataset
pixi r get-dataset
pixi r process-datasetConfigure and build the project:
pixi install -e default
pixi r configure [release|debug]
pixi r buildThe task configure defaults to debug. For release configure and build, type:
pixi r configure releaseTrain the network:
pixi r train <path-to-train-config-file>For example:
pixi r train configs/train.tomlThe <path-to-train-config-file> defaults to configs/train.toml.
Test the trained network:
pixi r test <path-to-test-config-file>For example:
pixi r test configs/test.tomlThe <path-to-test-config-file> defaults to configs/test.toml.
Example config file can be found in configs/config.example.toml.