Skip to content

cv-stuttgart/springwebsite

Repository files navigation

Spring Benchmark Website

This repository contains the code for the Spring benchmark website, see https://spring-benchmark.org/.

The site now also supports RobustSpring, a new extension that evaluates robustness to image corruptions for optical flow, scene flow, and stereo.
You can find more details about RobustSpring in the citation section.

For details on the subsampling strategy see subfolder.

Quick Setup

  • Install required python packages: Django, pprint, numpy, matplotlib, pypng, h5py, django-simple-captcha
  • define the following environment variables:
    • SPRING_ALLOWEDHOSTS: Comma-separated list of allowed hosts for the django server, see details.
    • SPRING_TIMEZONE: Set the local time zone, see details.
    • SPRING_UPLOADDIR: directory, where the uploaded submission files are stored
  • initiate the database: python manage.py migrate
  • start website server: python manage.py runserver
  • optionally: python manage.py create_random <num>; create <num> entries with random numbers

Evaluation

The evaluation code can be found in springeval/management/commands/update_evaluation.py and springeval/management/commands/evaluation.py.

In order to enable evaluation, two environment variables have to be set:

  • SPRING_IMGDIR is the media directory, the location where result visualizations are stored.
  • SPRING_EVALDIR is the location of the non-public ground truth files needed for evaluation.
    Then, the evaluation of submitted files is triggered via python manage.py update_evaluation.

Deployment

  • the django webserver has to be properly deployed, see details
  • the evaluation script has to be executed regularly, e.g. via cron
  • a mail server has to be set up and configured, see details.

Further environment variables:

  • SPRING_EMAILUSER, SPRING_EMAILPASSWORD, SPRING_EMAILHOST, SPRING_FROMEMAIL: see email settings
  • SPRING_DEBUG: whether to use Django debug mode
  • SPRING_SECRETKEY: Django secret key.
  • SPRING_STATICROOT: The directory for static files, needed for deployment.

Citation

If you make use of this code, please cite the following works:

@InProceedings{Mehl2023_Spring,
    author    = {Lukas Mehl and Jenny Schmalfuss and Azin Jahedi and Yaroslava Nalivayko and Andr\'es Bruhn},
    title     = {Spring: A High-Resolution High-Detail Dataset and Benchmark for Scene Flow, Optical Flow and Stereo},
    booktitle = {Proc. IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
    year      = {2023}
}

@misc{Schmalfuss2025_RobustSpring,
    author        = {Jenny Schmalfuss and Victor Oei and Lukas Mehl and Madlen Bartsch and Shashank Agnihotri and Margret Keuper and Andr\'es Bruhn},
    title         = {RobustSpring: Benchmarking Robustness to Image Corruptions for Optical Flow, Scene Flow and Stereo},
    eprint        = {2505.09368},
    archivePrefix = {arXiv},
    year          = {2025},
}