Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Lu-Feng/DHE-VPR
/ functions
Functions
131 in github.com/Lu-Feng/DHE-VPR
⨍
Functions
131
◇
Types & classes
25
Function
exception_handler
(type_, value, tb)
commons.py:93
Method
forward
(self, x)
network.py:31
Method
forward
(self, x)
network.py:42
Method
forward
(self, x)
network.py:50
Method
forward
(self, x, f_type="local")
network.py:73
Method
forward
(self, x)
network.py:96
Method
forward
Compute a forward pass, which can be of different types. This "ugly" step of passing the operation as a string has been adapted to all
network.py:133
Method
forward
(self, x)
model/cct/stochastic_depth.py:38
Method
forward
(self, x)
model/cct/cct.py:89
Method
forward
(self, x)
model/cct/transformers.py:23
Method
forward
(self, x, mask=None)
model/cct/transformers.py:50
Method
forward
(self, src: torch.Tensor, *args, **kwargs)
model/cct/transformers.py:95
Method
forward
(self, src: torch.Tensor, mask=None, *args, **kwargs)
model/cct/transformers.py:125
Method
forward
(self, x)
model/cct/transformers.py:188
Method
forward
(self, x, mask=None)
model/cct/transformers.py:290
Method
forward
(self, x, mask=None)
model/cct/embedder.py:25
Function
get_output_dim
Dinamically compute the output size of a model.
commons.py:29
Method
get_positives
(self)
dataset_geoloc.py:68
Method
init_weight
(m)
model/cct/tokenizer.py:47
Method
init_weight
(m)
model/cct/tokenizer.py:107
Method
init_weight
(m)
model/cct/transformers.py:213
Method
init_weight
(m)
model/cct/transformers.py:319
Method
init_weight
(m)
model/cct/embedder.py:31
Function
make_deterministic
Make results deterministic. If seed == -1, do not make deterministic. Running the script in a deterministic way might slow it down.
commons.py:15
Function
open_image_and_apply_transform
Given the path of an image, open the image, and return it as a normalized tensor.
datasets_util.py:18
Function
open_image_and_apply_transform_train
Given the path of an image, open the image, and return it as a normalized tensor.
datasets_util.py:26
Function
parse_arguments
()
parser.py:6
Function
reprojection_error_ofinliers
(model, tensor_img_1, tensor_img_2, weights=None)
homography_project.py:88
Method
seq_len
(self, seq_len=32, embed_dim=300)
model/cct/tokenizer.py:79
Function
setup_logging
Set up logging files and console output. Creates one file for INFO logs and one for DEBUG logs. Args: save_dir (str): creates the fold
commons.py:53
Function
test
Compute the test by warping the query-prediction pairs. Parameters ---------- model : network.Network predictions : np.array of i
test.py:8
← previous
101–131 of 131, ranked by callers