MCPcopy Create free account

hub / github.com/Sense-GVT/DeCLIP / functions

Functions606 in github.com/Sense-GVT/DeCLIP

Method__init__
(self, batch_size, temperature=0.1)
prototype/loss_functions/nt_xent.py:52
Method__init__
(self, params, lr=required, momentum=0, dampening=0, weight_decay=0, eta=0.001, nesterov=Fals
prototype/optimizer/lars.py:25
Method__init__
(self, params, lr=1e-3, betas=(0.9, 0.999), eps=1e-8, weight_decay=0, amsgrad=False, max_norm
prototype/optimizer/adam_clip.py:23
Method__init__
(self, params, lr=required, amsgrad=False, loss_scale='dynamic', verbose=False)
prototype/optimizer/AdamW_SGD.py:143
Method__init__
(self, params, lr=required, alpha=0.99, eps=1e-08, weight_decay=0, momentum=0, centered=False
prototype/optimizer/fp16_optim.py:98
Method__init__
(self, params, lr=1e-3, betas=(0.9, 0.999), eps=1e-8, weight_decay=1e-2, amsgrad=False, loss_
prototype/optimizer/fp16_optim.py:159
Method__iter__
(self)
prototype/data/nvidia_dali_dataloader.py:54
Method__iter__
(self)
prototype/data/nvidia_dali_dataloader.py:178
Method__iter__
(self)
prototype/data/sampler.py:34
Method__iter__
(self)
prototype/data/sampler.py:76
Method__iter__
(self)
prototype/data/sampler.py:128
Method__iter__
(self)
prototype/data/sampler.py:216
Method__len__
(self)
prototype/data/nvidia_dali_dataloader.py:57
Method__len__
(self)
prototype/data/sampler.py:50
Method__len__
(self)
prototype/data/sampler.py:102
Method__len__
(self)
prototype/data/sampler.py:168
Method__len__
(self)
prototype/data/sampler.py:223
Method__len__
Returns dataset length
prototype/data/datasets/base_dataset.py:38
Method__len__
(self)
prototype/data/datasets/clip_dataset.py:112
Method__len__
(self)
prototype/data/datasets/imagenet_dataset.py:48
Method__next__
(self)
prototype/data/nvidia_dali_dataloader.py:152
Method__repr__
(self)
prototype/data/auto_augmentation.py:99
Method__repr__
(self)
prototype/data/auto_augmentation.py:154
Method__repr__
(self)
prototype/data/auto_augmentation.py:209
Method__repr__
(self)
prototype/data/metrics/custom_evaluator.py:17
Method__repr__
(self)
prototype/data/metrics/imagenet_evaluator.py:16
Method__repr__
(self)
prototype/data/metrics/multiclass_evaluator.py:15
Method__setstate__
(self, state)
prototype/solver/base_solver.py:17
Method__setstate__
(self, state)
prototype/optimizer/lars.py:44
Method__setstate__
(self, state)
prototype/optimizer/AdamW_SGD.py:35
Method__str__
(self)
prototype/data/metrics/custom_evaluator.py:14
Method__str__
(self)
prototype/data/metrics/imagenet_evaluator.py:13
Method__str__
(self)
prototype/data/metrics/multiclass_evaluator.py:12
Function_collate_fn
(batch)
prototype/data/clip_dataloader.py:12
Function_get_conv_2d_output_shape
(conv_args, x)
prototype/utils/fbnet_helper.py:10
Method_get_new_lr
(self)
prototype/lr_scheduler/scheduler.py:134
Method_get_new_lr
(self)
prototype/lr_scheduler/scheduler.py:187
Method_get_new_lr
(self)
prototype/lr_scheduler/scheduler.py:235
Method_get_new_lr
(self)
prototype/lr_scheduler/scheduler.py:289
Functionadd_dropout
(dropout_ratio)
prototype/utils/fbnet_helper.py:141
Methodadd_subparser
(name, subparsers)
prototype/data/metrics/imagenet_evaluator.py:65
Methodadd_subparser
(self, name, subparsers)
prototype/data/metrics/base_evaluator.py:35
Methodbackward
(ctx, grad_output)
prototype/model/clip.py:43
Functionbarrier
()
linklink/__init__.py:30
Methodbuild_data
(self)
prototype/tools/inference.py:73
Functionbuild_imagenet_search_dataloader
build ImageNet dataloader for neural network search (NAS)
prototype/data/imagenet_dataloader.py:287
Functionclip_grad_norm
r"""Clips gradient norm of an iterable of parameters. .. warning:: This method is now deprecated in favor of :func:`torch.nn.util
prototype/utils/grad_clip.py:46
Functionclip_res50
Constructs a clip_res50 model.
prototype/model/clip.py:149
Functionclip_vitb32
Constructs a clip_ViT_B32 model.
prototype/model/clip.py:158
Methodclosure
()
prototype/solver/slip_solver.py:679
Methodclosure
()
prototype/solver/clip_solver.py:549
Methodclosure
()
prototype/solver/defilip_solver.py:708
Methodclosure
()
prototype/solver/declip_solver.py:674
Methodclosure
()
prototype/solver/filip_solver.py:688
Functionconcat_all_gather
Performs all_gather operation on the provided tensors.
prototype/utils/simclr_builder.py:28
Functioncondconv2d_hook
(m, input)
prototype/utils/misc.py:198
Functionconv2d_hook
(m, input)
prototype/utils/misc.py:187
Functioncount_flops
(model, input_shape)
prototype/utils/misc.py:174
Functioncutmix_data
(input, target, alpha=0.0)
prototype/utils/misc.py:520
Functiondeclip_res50
Constructs a clip_res50 model.
prototype/model/declip.py:339
Functiondeclip_vitb32
Constructs a clip_vitb32 model.
prototype/model/declip.py:348
Functiondefilip_vitb32
Constructs a clip_vitb32 model.
prototype/model/defilip.py:431
Methoddefine_graph
(self)
prototype/data/pipelines/imagenet_pipeline.py:41
Methoddefine_graph
(self)
prototype/data/pipelines/imagenet_pipeline.py:71
Methoddefine_graph
(self)
prototype/data/pipelines/imagenet_pipeline_v2.py:19
Methoddefine_graph
(self)
prototype/data/pipelines/imagenet_pipeline_v2.py:33
Methoddefine_graph
(self)
prototype/data/pipelines/imagenet_pipeline_v2.py:72
Methoddefine_graph
(self)
prototype/data/pipelines/imagenet_pipeline_v2.py:104
Functiondetailed_metrics
(output, target)
prototype/utils/misc.py:431
Functiondrop_connect_batch
Randomly drop batch during training
prototype/utils/fbnet_helper.py:75
Methoddtype
(self)
prototype/model/clip.py:95
Methoddtype
(self)
prototype/model/text_encoder/text_transformer.py:133
Methoddump
(self, writer, output)
prototype/data/datasets/clip_dataset.py:290
Methoddump
(self, writer, output)
prototype/data/datasets/imagenet_dataset.py:71
Methodeval
(self, res_file)
prototype/data/metrics/custom_evaluator.py:150
Methodeval
(self, res_file)
prototype/data/metrics/imagenet_evaluator.py:45
Methodeval
(self, res_file)
prototype/data/metrics/multiclass_evaluator.py:40
Methodevaluate
Arguments: - res_file (:obj:`str`): filename of result
prototype/data/datasets/base_dataset.py:150
Functionf
(img1, v)
prototype/data/clsa_augmentation.py:147
Functionfilip_res50
Constructs a vit mae model.
prototype/model/filip.py:146
Functionfilip_vitb32
Constructs a vit mae model.
prototype/model/filip.py:156
Functionfilter_kwargs
Filter kwargs based on signature of `func` Return arguments that matches `func`
prototype/utils/fbnet_helper.py:29
Functionfinalize
()
linklink/__init__.py:70
Methodforward
(self, x)
prototype/tools/convert.py:25
Methodforward
(self, input)
prototype/utils/moco_builder.py:109
Methodforward
(self, x)
prototype/utils/simclr_builder.py:13
Methodforward
(self, im_q, im_k, img_stronger_aug_list)
prototype/utils/clsa_builder.py:112
Methodforward
(self, *inputs, **kwargs)
prototype/utils/dist.py:60
Methodforward
(ctx, tensor)
prototype/model/slip.py:29
Methodforward
(self, x)
prototype/model/slip.py:84
Methodforward
(self, input, all_gather=False)
prototype/model/slip.py:177
Methodforward
(self, input, return_dict=False)
prototype/model/slip.py:245
Methodforward
(ctx, tensor)
prototype/model/clip.py:28
Methodforward
(self, input, all_gather=False)
prototype/model/clip.py:118
Methodforward
(self, input, return_dict=False)
prototype/model/filip.py:109
Methodforward
(self, x)
prototype/model/defilip.py:83
Methodforward
(self, x)
prototype/model/defilip.py:136
Methodforward
(self, input, return_dict=False)
prototype/model/defilip.py:272
Methodforward
(self, x)
prototype/model/declip.py:66
Methodforward
(self, x)
prototype/model/declip.py:119
← previousnext →401–500 of 606, ranked by callers