Skip to content

Commit

Permalink
Update Middlebury fine-tuning.
Browse files Browse the repository at this point in the history
  • Loading branch information
lahavlipson committed Mar 23, 2023
1 parent fa8ed9d commit 6068c1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ chmod ug+x download_middlebury_2014.sh && ./download_middlebury_2014.sh
```
and run
```Shell
python train_stereo.py --train_datasets middlebury_2014 --num_steps 4000 --image_size 384 1000 --restore_ckpt models/raftstereo-sceneflow.pth --batch_size 2 --train_iters 22 --valid_iters 32 --spatial_scale -0.2 0.4 --saturation_range 0 1.4 --n_downsample 2 --mixed_precision
python train_stereo.py --train_datasets middlebury_2014 --num_steps 4000 --image_size 384 1000 --lr 0.00002 --restore_ckpt models/raftstereo-sceneflow.pth --batch_size 2 --train_iters 22 --valid_iters 32 --spatial_scale -0.2 0.4 --saturation_range 0 1.4 --n_downsample 2 --mixed_precision
```

## (Optional) Faster Implementation
Expand Down
2 changes: 1 addition & 1 deletion download_middlebury_2014.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mkdir datasets/Middlebury/2014
mkdir datasets/Middlebury/2014 -p
cd datasets/Middlebury/2014
wget https://vision.middlebury.edu/stereo/data/scenes2014/zip/Adirondack-imperfect.zip
wget https://vision.middlebury.edu/stereo/data/scenes2014/zip/Adirondack-perfect.zip
Expand Down

0 comments on commit 6068c1a

Please sign in to comment.