blumenstiel commited on
Commit
4778482
·
1 Parent(s): 9a94fbc

Updated demo

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -80,8 +80,10 @@ def predict_on_images(data_file: str | Path, config_path: str, checkpoint: str):
80
 
81
  # Load model ---------------------------------------------------------------------------------
82
 
 
83
  lightning_model = LightningInferenceModel.from_config(config_path, checkpoint)
84
- img_size = 256 # Size of Sen1Floods11
 
85
 
86
  # Loading data ---------------------------------------------------------------------------------
87
 
 
80
 
81
  # Load model ---------------------------------------------------------------------------------
82
 
83
+ print(f'Loading model')
84
  lightning_model = LightningInferenceModel.from_config(config_path, checkpoint)
85
+ img_size = 512 # Size of BurnScars
86
+ print(f'Model loaded')
87
 
88
  # Loading data ---------------------------------------------------------------------------------
89