decouple the depth detection from tuning phase and refactor a lot 5bc01b9 vgvm commited on Jun 28, 2023