Downloads · 30 days
0
heig-vd-geo/demo_mlp
demo_mlp is a machine learning model from heig-vd-geo. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
- Python 3.10+ - Comptes W&B et Hugging Face
Downloads · 30 days
0
Access
Public
Updated Oct 13, 2025
Repo size
230 KB
Likes
1
Public
Click a slice to open those files.
.pdf230 KB · 95%
From the Hugging Face model README
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
wandb login # collez votre clé depuis https://wandb.ai/authorize
python scripts/train.py --config configs/config.yaml
python scripts/test.py --config configs/config.yaml --ckpt outputs/best.pt
Éditez configs/config.yaml :
wandb.entity: remplacez par votre entité (ex. votre username ou team).wandb.project, wandb.run_name.epochs, batch_size, lr, etc.export PYTHONPATH=./
python scripts/train.py --config configs/config.yaml
train/loss, val/loss, etc.).val/loss) : outputs/best.pt.export PYTHONPATH=./
python scripts/test.py --config configs/config.yaml --ckpt outputs/best.pt
test/loss et test/acc en console et les loggue sur W&B.Sur test split, pas val, pas train
accuracy = blabla
Citer ... si ce travail est utile