depthtrain

command
v0.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2026 License: Apache-2.0 Imports: 18 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command depthtrain learns the depth refinement (internal/stereo's RefineWeights) from 3D discs' pairs: stereobench -samples files, each a picture's left eye, the depth network's depth of it and the disc's disparity, all at half size.

depthtrain -train DIR -val DIR -out FILE [-epochs N] [-lr R]

The loss is what is left of the disc's disparity after fitting it, a picture at a time, by a scale and an offset of the refined depth (as stereobench's "fitted" measure): the films' own grading, which the pictures do not tell, is left out, and the depth's shape is learnt. Each epoch it reports the validation pictures' error after that fit (in pixels at the picture's size), the depth's as the network gives it and refined, and writes the weights.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL