File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed
Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -269,11 +269,8 @@ def train(args):
269269
270270 extredata_benchmark = MixedDenseBenchmark (
271271 h = h , w = w , num_samples = 1000 , dataset = "extredata" )
272-
273- # TODO: remove constraint after megadepth uploaded
274- if not args .use_pretained_roma :
275- megadepth_benchmark = MixedDenseBenchmark (
276- h = h , w = w , num_samples = 1000 , dataset = "megadepth" )
272+ megadepth_benchmark = MixedDenseBenchmark (
273+ h = h , w = w , num_samples = 1000 , dataset = "megadepth" )
277274
278275 # When finetuning, use extredata dataset only
279276 vis_dataset = "extredata" if args .use_pretained_roma else "mixed"
@@ -335,10 +332,7 @@ def train(args):
335332 if rank == 0 :
336333 mixed_visualize_benchmark .benchmark (model )
337334 extredata_benchmark .benchmark (model )
338-
339- # TODO: remove constraint after megadepth uploaded
340- if not args .use_pretained_roma :
341- megadepth_benchmark .benchmark (model )
335+ megadepth_benchmark .benchmark (model )
342336
343337
344338if __name__ == "__main__" :
Original file line number Diff line number Diff line change 66 "romatch" : {
77 # TODO: add the URL for the external model
88 "extre" : "file:///home/local/Develop/ExtreRoMa/workspace/models/roma_extre.714912.pth" ,
9+ "outdoor" : "https://github.com/Parskatt/storage/releases/download/roma/roma_outdoor.pth" ,
910 },
1011 "dinov2" : "https://dl.fbaipublicfiles.com/dinov2/dinov2_vitl14/dinov2_vitl14_pretrain.pth" ,
1112}
You can’t perform that action at this time.
0 commit comments