snicolau commited on
Commit
ae9cc4f
Β·
verified Β·
1 Parent(s): 9d8045e

Upload default.yaml

Browse files
third_party/lama/configs/prediction/default.yaml ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ indir: no # to be overriden in CLI
2
+ outdir: no # to be overriden in CLI
3
+
4
+ model:
5
+ path: no # to be overriden in CLI
6
+ checkpoint: best.ckpt
7
+
8
+ dataset:
9
+ kind: default
10
+ img_suffix: .png
11
+ pad_out_to_modulo: 8
12
+
13
+ device: cuda
14
+ out_key: inpainted
15
+
16
+ refine: False # refiner will only run if this is True
17
+ refiner:
18
+ gpu_ids: 0,1 # the GPU ids of the machine to use. If only single GPU, use: "0,"
19
+ modulo: ${dataset.pad_out_to_modulo}
20
+ n_iters: 15 # number of iterations of refinement for each scale
21
+ lr: 0.002 # learning rate
22
+ min_side: 512 # all sides of image on all scales should be >= min_side / sqrt(2)
23
+ max_scales: 3 # max number of downscaling scales for the image-mask pyramid
24
+ px_budget: 1800000 # pixels budget. Any image will be resized to satisfy height*width <= px_budget