MCPcopy Create free account

hub / github.com/VisionLearningGroup/OVANet / functions

Functions38 in github.com/VisionLearningGroup/OVANet

↓ 2 callersMethod__init__
(self, option='resnet50', pret=True, top=False)
models/basenet.py:8
↓ 2 callersFunctioninv_lr_scheduler
Decay learning rate by a factor of 0.1 every lr_decay_epoch epochs.
utils/lr_schedule.py:2
↓ 2 callersFunctionplot_embedding
(X, label, title=None)
utils/tsne_visualize_labeled.py:18
↓ 1 callersMethod__len__
(self)
data_loader/mydataset.py:128
↓ 1 callersFunctionget_dataloaders
(kwargs)
utils/defaults.py:11
↓ 1 callersFunctionget_loader
(source_path, target_path, evaluation_path, transforms, batch_size=32, return_id=False, balance
data_loader/get_loader.py:8
↓ 1 callersFunctionget_loader_label
(source_path, target_path, target_path_label, evaluation_path, transforms, batch_size=32, retur
data_loader/get_loader.py:67
↓ 1 callersFunctionget_model_mme
(net, num_class=13, temp=0.05, top=False, norm=True)
utils/utils.py:8
↓ 1 callersFunctionget_models
(kwargs)
utils/defaults.py:85
↓ 1 callersFunctionh_score_compute
(label_all, pred_class, class_list)
eval.py:222
↓ 1 callersFunctionis_image_file
(filename)
data_loader/mydataset.py:20
↓ 1 callersFunctionlog_set
(kwargs)
utils/utils.py:24
↓ 1 callersFunctionmake_dataset_nolist
(image_list)
data_loader/mydataset.py:59
↓ 1 callersFunctionopen_entropy
(out_open)
utils/loss.py:30
↓ 1 callersFunctionova_loss
(out_open, label)
utils/loss.py:14
↓ 1 callersFunctionplot_embedding2
(X, label, title=None)
utils/tsne_visualize_labeled.py:37
↓ 1 callersFunctionsave_model
(model_g, model_c1, model_c2, save_path)
utils/utils.py:52
↓ 1 callersFunctionselect_threshold
(pred_all, conf_thr, label_all, class_list, thr=None)
eval.py:188
↓ 1 callersFunctiontest
(step, dataset_test, name, n_share, G, Cs, open_class = None, open=False, entropy=False, thr=None)
eval.py:90
↓ 1 callersFunctiontrain
()
train.py:88
↓ 1 callersMethodweight_norm
(self)
models/basenet.py:105
Method__getitem__
Args: index (int): Index Returns: tuple: (image, target) where target is class_index of the target class.
data_loader/mydataset.py:107
Method__init__
(self, image_list, transform=None, target_transform=None, return_paths=False, loader=default_
data_loader/mydataset.py:96
Method__init__
(self, option='vgg', pret=True, no_pool=False, top=False)
models/basenet.py:43
Method__init__
(self, num_classes=12, input_size=2048, temp=0.05, norm=True)
models/basenet.py:83
Functiondefault_flist_reader
flist format: impath label\nimpath label\n ...(same to caffe's filelist)
data_loader/mydataset.py:42
Functiondefault_loader
(path)
data_loader/mydataset.py:55
Functionentropy
(p, prob=True, mean=True)
utils/loss.py:4
Functionfeat_get
(step, G, Cs, dataset_source, dataset_target, save_path, ova=True)
eval.py:13
Functionfind_classes
(dir)
data_loader/mydataset.py:13
Methodforward
(self, x)
models/basenet.py:33
Methodforward
(self, x, source=True,target=False)
models/basenet.py:71
Methodforward
(self, x, dropout=False, return_feat=False)
models/basenet.py:95
Functionget_dataloaders_label
(source_data, target_data, target_data_label, evaluation_data, conf)
utils/defaults.py:55
Functionload_model
(model_g, model_c, load_path)
utils/utils.py:60
Functionmake_dataset
(dir, class_to_idx)
data_loader/mydataset.py:24
Methodset_lambda
(self, lambd)
models/basenet.py:92
Methodweights_init
(self)
models/basenet.py:109