MCPcopy Create free account

hub / github.com/TL-UESTC/UniMoS / functions

Functions70 in github.com/TL-UESTC/UniMoS

↓ 6 callersMethod__init__
(self, args, config)
model.py:118
↓ 6 callersFunctionindex_generator
(N, B, shuffle=True)
model.py:31
↓ 6 callersMethodtrain
(self)
model.py:258
↓ 5 callersFunctionbuild_transform
(is_train, config)
utils/build.py:220
↓ 3 callersMethodclip_clf_res
(self, fea, method=None)
model.py:247
↓ 2 callersMethodclip_forward
image: btz, 3, 224, 224 text_embedding: cls, 77, 512 tokenized_prompts: cls, 77
model.py:222
↓ 2 callersMethodext_fea
(self, d='src')
model.py:400
↓ 2 callersFunctionmake_dataset
(root, label)
utils/build.py:31
↓ 2 callersMethodset_eval
(self)
model.py:463
↓ 2 callersMethodtest
(self, d='tar')
model.py:338
↓ 1 callersFunction_update_config_from_file
(config, cfg_file)
configs/config.py:187
↓ 1 callersMethodcal_dis
(self, aff, all_fea)
model.py:441
↓ 1 callersMethodcal_l
(self)
model.py:178
↓ 1 callersMethodclear
(self)
model.py:531
↓ 1 callersMethodclustering
(self, aff, all_fea, K, all_label)
model.py:433
↓ 1 callersMethodconvert_models_to_fp32
(self)
model.py:427
↓ 1 callersFunctioncreate_logger
(output_dir, name='', file='1')
utils/logger.py:13
↓ 1 callersMethoddebias
(self, probs, k)
model.py:196
↓ 1 callersFunctionent_loss
(out)
model.py:485
↓ 1 callersFunctionentropy
(input)
model.py:471
↓ 1 callersFunctiongentropy
(softmax_out)
model.py:478
↓ 1 callersFunctionget_config
Get a yacs CfgNode object with default values.
configs/config.py:246
↓ 1 callersMethodinv_lr_scheduler
(self, iter_num, power=0.75, gamma=0.001)
model.py:186
↓ 1 callersFunctionis_image_file
(filename)
utils/build.py:23
↓ 1 callersFunctionkl_div_with_logit
(q_logit, p_logit)
model.py:505
↓ 1 callersFunctionmake_dataset_officehome
(image_list, labels)
utils/build.py:44
↓ 1 callersMethodnormalize
(self, x)
model.py:335
↓ 1 callersFunctionparse_option
()
main.py:10
↓ 1 callersFunctionprint_args
(args)
main.py:53
↓ 1 callersMethodrecord_best
(self, acc)
model.py:253
↓ 1 callersMethodreset_random_parameters
(self, reset_probability=0.5)
model.py:584
↓ 1 callersMethodset_train
(self)
model.py:455
↓ 1 callersMethodtrain_param
(self)
model.py:207
↓ 1 callersMethodupdate
(self, **kw)
model.py:520
↓ 1 callersFunctionupdate_config
(config, args)
configs/config.py:202
↓ 1 callersMethodupdate_q
(self, probs_before_softmax, k)
model.py:201
Method__call__
(self, img)
utils/build.py:261
Method__getitem__
(self, index)
utils/build.py:67
Method__getitem__
(self, index)
utils/build.py:102
Method__getitem__
(self, index)
utils/build.py:146
Method__init__
(self, classnames, args, fill=None)
model.py:48
Method__init__
(self)
model.py:517
Method__init__
(self, feature_dim, bottleneck_dim=256, type="bn")
model.py:542
Method__init__
(self, class_num, bottleneck_dim=256, type="wn")
model.py:557
Method__init__
(self, fea_dim=1024)
model.py:573
Method__init__
(self, fea_dim)
model.py:601
Method__init__
(self, fea_dim)
model.py:613
Method__init__
(self, root, label, transform=None, loader=default_loader, return_path=False)
utils/build.py:58
Method__init__
(self, root, label, transform=None, loader=default_loader)
utils/build.py:89
Method__init__
(self, image_list, labels=None, transform=None, target_transform=None, mode='RGB')
utils/build.py:128
Method__init__
(self, size)
utils/build.py:255
Method__len__
(self)
utils/build.py:80
Method__len__
(self)
utils/build.py:112
Method__len__
(self)
utils/build.py:156
Method__repr__
(self)
model.py:534
Functionbuild_tar_loader
(args, config, def_trans=None)
utils/build.py:185
Functioncreate_logger_parallel
(output_dir, name='')
utils/logger.py:40
Functiondata_load
(args, config, transf=None)
utils/build.py:160
Functiondefault_loader
(path)
utils/build.py:27
Methodforward
(self)
model.py:104
Methodforward
(self, x)
model.py:549
Methodforward
(self, x)
model.py:567
Methodforward
(self, x)
model.py:592
Methodforward
(self, x)
model.py:606
Methodforward
(self, x)
model.py:621
Functioninit_weights
(m)
model.py:492
Functionl_loader
(path)
utils/build.py:121
Methodreset
(self)
model.py:580
Functionrgb_loader
(path)
utils/build.py:116
Functionupdate_qhat
(probs, qhat, momentum=0.99, qhat_mask=None)
model.py:108