MCPcopy Create free account

hub / github.com/Lu-Feng/DHE-VPR / functions

Functions131 in github.com/Lu-Feng/DHE-VPR

Functionexception_handler
(type_, value, tb)
commons.py:93
Methodforward
(self, x)
network.py:31
Methodforward
(self, x)
network.py:42
Methodforward
(self, x)
network.py:50
Methodforward
(self, x, f_type="local")
network.py:73
Methodforward
(self, x)
network.py:96
Methodforward
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
Methodforward
(self, x)
model/cct/stochastic_depth.py:38
Methodforward
(self, x)
model/cct/cct.py:89
Methodforward
(self, x)
model/cct/transformers.py:23
Methodforward
(self, x, mask=None)
model/cct/transformers.py:50
Methodforward
(self, src: torch.Tensor, *args, **kwargs)
model/cct/transformers.py:95
Methodforward
(self, src: torch.Tensor, mask=None, *args, **kwargs)
model/cct/transformers.py:125
Methodforward
(self, x)
model/cct/transformers.py:188
Methodforward
(self, x, mask=None)
model/cct/transformers.py:290
Methodforward
(self, x, mask=None)
model/cct/embedder.py:25
Functionget_output_dim
Dinamically compute the output size of a model.
commons.py:29
Methodget_positives
(self)
dataset_geoloc.py:68
Methodinit_weight
(m)
model/cct/tokenizer.py:47
Methodinit_weight
(m)
model/cct/tokenizer.py:107
Methodinit_weight
(m)
model/cct/transformers.py:213
Methodinit_weight
(m)
model/cct/transformers.py:319
Methodinit_weight
(m)
model/cct/embedder.py:31
Functionmake_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
Functionopen_image_and_apply_transform
Given the path of an image, open the image, and return it as a normalized tensor.
datasets_util.py:18
Functionopen_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
Functionparse_arguments
()
parser.py:6
Functionreprojection_error_ofinliers
(model, tensor_img_1, tensor_img_2, weights=None)
homography_project.py:88
Methodseq_len
(self, seq_len=32, embed_dim=300)
model/cct/tokenizer.py:79
Functionsetup_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
Functiontest
Compute the test by warping the query-prediction pairs. Parameters ---------- model : network.Network predictions : np.array of i
test.py:8
← previous101–131 of 131, ranked by callers