This repository collects tools, models and evaluation pipelines for visual-style transfer, depth/LiDAR processing, and related evaluations. It contains multiple subprojects used for training, inference and benchmarking.
This project was developed for the EPFL course CS503 — Visual Intelligence: Machines and Minds.
Report and visualizations Checkout the website! https://sophiaargh.github.io/from-canvas-to-pointcloud/
Quick links
mapanything/ — models, training utilities, which is a copy of the mapanything folder from the MapAnything repositoryContents
train_adain.sh, train_adain_epoch.sh, run_dino_similarity.sh, transfer_folders.py and lightweight benchmarks.Prerequisites
requirements.txt where applicable (for example, TeleStyle/requirements.txt and lora/requirements.txt).Installation (example using conda)
conda create -n visual-intel python=3.11 -y
conda activate visual-intel
pip install -r TeleStyle/requirements.txt
pip install -r lora/requirements.txt
pip install -r eval_pipeline/requirements.txt
How the repository is organized
Training
train_adain.sh, train_adain_epoch.sh — scripts to train AdaIN-style models (see eval_pipeline/train_adaIN.py).lora/train_lora.py — training script for LoRA adapters (configs in lora/configs/).Inference / Demo
TeleStyle/telestyleimage_inference.py, telestylevideo_inference.py — image/video inference pipelines.TeleStyle/run_telestyle.sh, TeleStyle/run_telestyle_style_preview.sh — convenience run scripts.lora/export_pointclouds.py, lora/visualize_ply.py — export and visualize pointcloud results.Evaluation
eval_pipeline/runner.py and evaluator.py — run benchmarks and compute metrics.eval_dino_similarity.py and run_dino_similarity.sh — DINO-based similarity evaluations.Utilities
transfer_folders.py — helper for moving or reorganizing dataset folders.plot_adain.ipynb, plot_gray.ipynb, plot_norm.ipynb — notebooks for visualization.Repository tree (high-level)
/ — repository root
TeleStyle/ — style-transfer inference, ControlNet tuning, video pipelines and convenience run scripts. Key files: telestyleimage_inference.py, telestylevideo_inference.py, run_telestyle.sh, tune_controlnet_strength.py, styles/.TeleStyle/*.sh and top-level scripts — convenience wrappers for common tasks: run_telestyle.sh, run_destylize.sh, run_tune_controlnet_strength.sh, submit_evaluate.sh, train_adain.sh, train_adain_epoch.sh.lora/ — LoRA adapter training, adapters, export & visualization tools. Key files: train_lora.py, lora_adapter.py, export_pointclouds.py, configs/, requirements.txt.eval_pipeline/ — evaluation runners, metrics, and training helpers for depth/normal reconstruction. Key files: runner.py, evaluator.py, models.py, normalization.py, train_adaIN.py, additional_evals/.eval_*.py and evaluation_results/ — quick evaluation entrypoints and collected CSV results (e.g., eval_dino_similarity.py, eval_controlnet_grid.py, evaluation_results/*.csv).mapanything/ — model implementations, datasets and training utilities (copied from MapAnything project; see folder README).mini-benchmark/ — small example datasets and quick benchmarks used for development and demos.transfer_folders.py — dataset/folder utilities used by evaluation and training scripts.plot_adain.ipynb, plot_gray.ipynb, plot_norm.ipynb — visualization and analysis notebooks.This tree highlights the primary components and entrypoints; see subproject READMEs (for example, TeleStyle/README.md and lora/README.md) for detailed usage and examples.
Usage examples on the Scitas cluster.
# from repo root
sbatch TeleStyle/run_telestyle.sh --input path/to/image.jpg --style TeleStyle/styles/your_style.npy
# submit a training job using the provided script
sbtach lora/scripts/run_lora_training.sh
# submit the evaluation job using the helper script
sbatch submit_evaluate.sh
Important note: The dataset which we use throughout this project weights approximately 17GB and will be downloaded in your HuggingFace cache.
Python
74.9%
Jupyter Notebook
23.8%
Shell
1.3%
This repository collects tools, models and evaluation pipelines for visual-style transfer, depth/LiDAR processing, and related evaluations. It contains multiple subprojects used for training, inference and benchmarking.
This project was developed for the EPFL course CS503 — Visual Intelligence: Machines and Minds.
Report and visualizations Checkout the website! https://sophiaargh.github.io/from-canvas-to-pointcloud/
Quick links
mapanything/ — models, training utilities, which is a copy of the mapanything folder from the MapAnything repositoryContents
train_adain.sh, train_adain_epoch.sh, run_dino_similarity.sh, transfer_folders.py and lightweight benchmarks.Prerequisites
requirements.txt where applicable (for example, TeleStyle/requirements.txt and lora/requirements.txt).Installation (example using conda)
conda create -n visual-intel python=3.11 -y
conda activate visual-intel
pip install -r TeleStyle/requirements.txt
pip install -r lora/requirements.txt
pip install -r eval_pipeline/requirements.txt
How the repository is organized
Training
train_adain.sh, train_adain_epoch.sh — scripts to train AdaIN-style models (see eval_pipeline/train_adaIN.py).lora/train_lora.py — training script for LoRA adapters (configs in lora/configs/).Inference / Demo
TeleStyle/telestyleimage_inference.py, telestylevideo_inference.py — image/video inference pipelines.TeleStyle/run_telestyle.sh, TeleStyle/run_telestyle_style_preview.sh — convenience run scripts.lora/export_pointclouds.py, lora/visualize_ply.py — export and visualize pointcloud results.Evaluation
eval_pipeline/runner.py and evaluator.py — run benchmarks and compute metrics.eval_dino_similarity.py and run_dino_similarity.sh — DINO-based similarity evaluations.Utilities
transfer_folders.py — helper for moving or reorganizing dataset folders.plot_adain.ipynb, plot_gray.ipynb, plot_norm.ipynb — notebooks for visualization.Repository tree (high-level)
/ — repository root
TeleStyle/ — style-transfer inference, ControlNet tuning, video pipelines and convenience run scripts. Key files: telestyleimage_inference.py, telestylevideo_inference.py, run_telestyle.sh, tune_controlnet_strength.py, styles/.TeleStyle/*.sh and top-level scripts — convenience wrappers for common tasks: run_telestyle.sh, run_destylize.sh, run_tune_controlnet_strength.sh, submit_evaluate.sh, train_adain.sh, train_adain_epoch.sh.lora/ — LoRA adapter training, adapters, export & visualization tools. Key files: train_lora.py, lora_adapter.py, export_pointclouds.py, configs/, requirements.txt.eval_pipeline/ — evaluation runners, metrics, and training helpers for depth/normal reconstruction. Key files: runner.py, evaluator.py, models.py, normalization.py, train_adaIN.py, additional_evals/.eval_*.py and evaluation_results/ — quick evaluation entrypoints and collected CSV results (e.g., eval_dino_similarity.py, eval_controlnet_grid.py, evaluation_results/*.csv).mapanything/ — model implementations, datasets and training utilities (copied from MapAnything project; see folder README).mini-benchmark/ — small example datasets and quick benchmarks used for development and demos.transfer_folders.py — dataset/folder utilities used by evaluation and training scripts.plot_adain.ipynb, plot_gray.ipynb, plot_norm.ipynb — visualization and analysis notebooks.This tree highlights the primary components and entrypoints; see subproject READMEs (for example, TeleStyle/README.md and lora/README.md) for detailed usage and examples.
Usage examples on the Scitas cluster.
# from repo root
sbatch TeleStyle/run_telestyle.sh --input path/to/image.jpg --style TeleStyle/styles/your_style.npy
# submit a training job using the provided script
sbtach lora/scripts/run_lora_training.sh
# submit the evaluation job using the helper script
sbatch submit_evaluate.sh
Important note: The dataset which we use throughout this project weights approximately 17GB and will be downloaded in your HuggingFace cache.
Python
74.9%
Jupyter Notebook
23.8%
Shell
1.3%