Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Nanne/pytorch-NetVlad
/ functions
Functions
42 in github.com/Nanne/pytorch-NetVlad
⨍
Functions
42
◇
Types & classes
7
↓ 8 callers
Function
input_transform
()
pittsburgh.py:22
↓ 4 callers
Function
input_transform
()
tokyo247.py:22
↓ 2 callers
Function
parse_dbStruct
(path)
pittsburgh.py:73
↓ 2 callers
Function
parse_dbStruct
(path)
tokyo247.py:54
↓ 2 callers
Function
test
(eval_set, epoch=0, write_tboard=False)
main.py:171
↓ 1 callers
Method
__init__
(self, structFile, input_transform=None, onlyDB=False)
pittsburgh.py:102
↓ 1 callers
Method
__init__
(self, structFile, input_transform=None, onlyDB=False)
tokyo247.py:78
↓ 1 callers
Method
getPositives
(self)
tokyo247.py:105
↓ 1 callers
Function
get_clusters
(cluster_set)
main.py:231
↓ 1 callers
Method
init_params
(self, clsts, traindescs)
netvlad.py:35
↓ 1 callers
Function
save_checkpoint
(state, is_best, filename='checkpoint.pth.tar')
main.py:279
↓ 1 callers
Function
train
(epoch)
main.py:71
Method
__getitem__
(self, index)
pittsburgh.py:118
Method
__getitem__
(self, index)
pittsburgh.py:212
Method
__getitem__
(self, index)
tokyo247.py:94
Method
__getitem__
(self, index)
tokyo247.py:188
Method
__init__
(self, structFile, nNegSample=1000, nNeg=10, margin=0.1, input_transform=None)
pittsburgh.py:170
Method
__init__
(self, structFile, nNegSample=1000, nNeg=10, margin=0.1, input_transform=None)
tokyo247.py:146
Method
__init__
Args: num_clusters : int The number of clusters dim : int Dimension of descriptors
netvlad.py:11
Method
__init__
(self, dim=1)
main.py:290
Method
__len__
(self)
pittsburgh.py:126
Method
__len__
(self)
pittsburgh.py:267
Method
__len__
(self)
tokyo247.py:102
Method
__len__
(self)
tokyo247.py:243
Function
collate_fn
Creates mini-batch tensors from the list of tuples (query, positive, negatives). Args: data: list of tuple (query, positive, negative
pittsburgh.py:141
Function
collate_fn
Creates mini-batch tensors from the list of tuples (query, positive, negatives). Args: data: list of tuple (query, positive, negative
tokyo247.py:117
Method
forward
(self, x)
netvlad.py:64
Method
forward
(self, input)
main.py:286
Method
forward
(self, input)
main.py:294
Method
getPositives
(self)
pittsburgh.py:129
Function
get_250k_test_set
()
pittsburgh.py:49
Function
get_250k_val_query_set
()
pittsburgh.py:64
Function
get_250k_val_set
()
pittsburgh.py:40
Function
get_training_query_set
(margin=0.1)
pittsburgh.py:54
Function
get_training_query_set
(margin=0.1)
tokyo247.py:40
Function
get_val_query_set
()
pittsburgh.py:59
Function
get_val_query_set
()
tokyo247.py:45
Function
get_whole_test_set
()
pittsburgh.py:44
Function
get_whole_training_set
(onlyDB=False)
pittsburgh.py:29
Function
get_whole_training_set
(onlyDB=False)
tokyo247.py:29
Function
get_whole_val_set
()
pittsburgh.py:35
Function
get_whole_val_set
()
tokyo247.py:35