Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from opencd.apis import OpenCDInferencer
|
|
6 |
device = 'cuda:0' if torch.cuda.is_available() else 'cpu'
|
7 |
|
8 |
config_file = 'configs/TTP/ttp_sam_large_levircd_infer.py'
|
9 |
-
checkpoint_file = 'ckpt/
|
10 |
|
11 |
# build the model from a config file and a checkpoint file
|
12 |
mmcd_inferencer = OpenCDInferencer(
|
|
|
6 |
device = 'cuda:0' if torch.cuda.is_available() else 'cpu'
|
7 |
|
8 |
config_file = 'configs/TTP/ttp_sam_large_levircd_infer.py'
|
9 |
+
checkpoint_file = 'ckpt/epoch_260.pth'
|
10 |
|
11 |
# build the model from a config file and a checkpoint file
|
12 |
mmcd_inferencer = OpenCDInferencer(
|