@@ -24,6 +24,21 @@ class PhotoTour(data.Dataset):
24
24
25
25
"""
26
26
urls = {
27
+ 'notredame_harris' : [
28
+ 'http://matthewalunbrown.com/patchdata/notredame_harris.zip' ,
29
+ 'notredame_harris.zip' ,
30
+ '69f8c90f78e171349abdf0307afefe4d'
31
+ ],
32
+ 'yosemite_harris' : [
33
+ 'http://matthewalunbrown.com/patchdata/yosemite_harris.zip' ,
34
+ 'yosemite_harris.zip' ,
35
+ 'a73253d1c6fbd3ba2613c45065c00d46'
36
+ ],
37
+ 'liberty_harris' : [
38
+ 'http://matthewalunbrown.com/patchdata/liberty_harris.zip' ,
39
+ 'liberty_harris.zip' ,
40
+ 'c731fcfb3abb4091110d0ae8c7ba182c'
41
+ ],
27
42
'notredame' : [
28
43
'http://icvl.ee.ic.ac.uk/vbalnt/notredame.zip' ,
29
44
'notredame.zip' ,
@@ -40,10 +55,12 @@ class PhotoTour(data.Dataset):
40
55
'fdd9152f138ea5ef2091746689176414'
41
56
],
42
57
}
43
- mean = {'notredame' : 0.4854 , 'yosemite' : 0.4844 , 'liberty' : 0.4437 }
44
- std = {'notredame' : 0.1864 , 'yosemite' : 0.1818 , 'liberty' : 0.2019 }
45
- lens = {'notredame' : 468159 , 'yosemite' : 633587 , 'liberty' : 450092 }
46
-
58
+ mean = {'notredame' : 0.4854 , 'yosemite' : 0.4844 , 'liberty' : 0.4437 ,
59
+ 'notredame_harris' : 0.4854 , 'yosemite_harris' : 0.4844 , 'liberty_harris' : 0.4437 }
60
+ std = {'notredame' : 0.1864 , 'yosemite' : 0.1818 , 'liberty' : 0.2019 ,
61
+ 'notredame_harris' : 0.1864 , 'yosemite_harris' : 0.1818 , 'liberty_harris' : 0.2019 }
62
+ lens = {'notredame' : 468159 , 'yosemite' : 633587 , 'liberty' : 450092 ,
63
+ 'liberty_harris' : 379587 , 'yosemite_harris' : 450912 , 'notredame_harris' : 325295 }
47
64
image_ext = 'bmp'
48
65
info_file = 'info.txt'
49
66
matches_files = 'm50_100000_100000_0.txt'
@@ -57,7 +74,6 @@ def __init__(self, root, name, train=True, transform=None, download=False):
57
74
58
75
self .train = train
59
76
self .transform = transform
60
-
61
77
self .mean = self .mean [name ]
62
78
self .std = self .std [name ]
63
79
0 commit comments