Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Sense-GVT/DeCLIP
/ functions
Functions
606 in github.com/Sense-GVT/DeCLIP
⨍
Functions
606
◇
Types & classes
121
Method
forward
(self, input, return_dict=False)
prototype/model/declip.py:196
Method
forward
(self, text, mask_type=None, return_dense=False)
prototype/model/text_encoder/text_transformer.py:183
Method
forward
(self, x: torch.Tensor)
prototype/model/text_encoder/base_transformer.py:13
Method
forward
(self, x: torch.Tensor)
prototype/model/text_encoder/base_transformer.py:25
Method
forward
(self, x: torch.Tensor)
prototype/model/text_encoder/base_transformer.py:50
Method
forward
(self, x: torch.Tensor)
prototype/model/text_encoder/base_transformer.py:75
Method
forward
Query memory bank for additional negative samples Args: output: The output of the model. labels:
prototype/model/utils/nnclr_modules/memory_bank.py:89
Method
forward
Returns nearest neighbour of output tensor from memory bank Args: output: The torch tensor for which you want the nearest neighbo
prototype/model/utils/nnclr_modules/nn_memory_bank.py:42
Method
forward
Query memory bank for additional negative samples Args: output: The output of the model. labels:
prototype/model/utils/nnclr_modules/memory_bank_cuda.py:94
Method
forward
(self, x: torch.Tensor, return_dense=False, return_feature=False)
prototype/model/image_encoder/visual_transformer.py:55
Method
forward
(self, x: torch.Tensor)
prototype/model/image_encoder/modified_resnet_modified.py:44
Method
forward
(self, x)
prototype/model/image_encoder/modified_resnet_modified.py:71
Method
forward
(self, x, return_dense=False, return_feature=False)
prototype/model/image_encoder/modified_resnet_modified.py:189
Method
forward
(self, x: torch.Tensor)
prototype/model/image_encoder/modified_resnet.py:44
Method
forward
(self, x)
prototype/model/image_encoder/modified_resnet.py:71
Method
forward
(self, x, return_dense=False)
prototype/model/image_encoder/modified_resnet.py:192
Method
forward
(self, x: torch.Tensor)
prototype/model/image_encoder/base_transformer.py:13
Method
forward
(self, x: torch.Tensor)
prototype/model/image_encoder/base_transformer.py:25
Method
forward
(self, x: torch.Tensor)
prototype/model/image_encoder/base_transformer.py:50
Method
forward
(self, x: torch.Tensor)
prototype/model/image_encoder/base_transformer.py:75
Method
forward
(self, input, label)
prototype/loss_functions/loss.py:13
Method
forward
(self, logits_per_image, logits_per_text)
prototype/loss_functions/loss.py:37
Method
forward
(self, p1, z1, p2, z2, minimize_loss=False,)
prototype/loss_functions/loss.py:70
Method
forward
(self, zis, zjs, norm=True, weights=1.0)
prototype/loss_functions/nt_xent_ConVIRT.py:23
Method
forward
(self, z_i, z_j)
prototype/loss_functions/nt_xent.py:28
Method
forward
(self, z_i, z_ib, z_j, z_jb, temperature=None)
prototype/loss_functions/nt_xent.py:62
Method
from_args
(cls, args)
prototype/data/metrics/imagenet_evaluator.py:76
Method
from_args
(cls, args)
prototype/data/metrics/base_evaluator.py:39
Function
get_bn
(config)
prototype/utils/misc.py:112
Function
get_divisible_by
(num, divisible_by, min_val=None)
prototype/utils/fbnet_helper.py:94
Function
get_local_rank
()
linklink/__init__.py:37
Method
get_logits
(dense_feat_1, selected_feat_2)
prototype/model/filip.py:96
Method
get_logits
(dense_feat_1, selected_feat_2)
prototype/model/defilip.py:251
Function
get_merged_dict
(base, *new_dicts)
prototype/utils/fbnet_helper.py:133
Function
get_norm_layer
(config)
prototype/utils/misc.py:139
Function
get_rank
()
linklink/__init__.py:22
Method
grad_clip_after
()
prototype/solver/slip_solver.py:664
Method
grad_clip_after
()
prototype/solver/clip_solver.py:534
Method
grad_clip_after
()
prototype/solver/defilip_solver.py:693
Method
grad_clip_after
()
prototype/solver/declip_solver.py:659
Method
grad_clip_after
()
prototype/solver/filip_solver.py:673
Method
grad_clip_before
()
prototype/solver/slip_solver.py:654
Method
grad_clip_before
()
prototype/solver/clip_solver.py:524
Method
grad_clip_before
()
prototype/solver/defilip_solver.py:683
Method
grad_clip_before
()
prototype/solver/declip_solver.py:649
Method
grad_clip_before
()
prototype/solver/filip_solver.py:663
Method
hook
(*ignore)
prototype/utils/dist.py:72
Method
inference
Arguments: - res_file (:obj:`str`): filename of result
prototype/data/datasets/base_dataset.py:141
Function
init
()
linklink/fp16.py:16
Function
initialize
(backend='nccl')
linklink/__init__.py:42
Function
kestrel_loader
(img_bytes, filepath)
prototype/data/image_reader.py:22
Function
link_dist
(func)
prototype/utils/dist.py:8
Function
merge
kwargs will override other arguments
prototype/utils/fbnet_helper.py:124
Function
merge_unify_args
(*args)
prototype/utils/fbnet_helper.py:57
Function
mix_criterion
(criterion, pred, y_a, y_b, lam)
prototype/utils/misc.py:497
Function
mixup_data
Returns mixed inputs, pairs of targets, and lambda
prototype/utils/misc.py:482
Function
modified_resnet_R101
(**kwargs)
prototype/model/image_encoder/modified_resnet_modified.py:234
Function
modified_resnet_R101
(**kwargs)
prototype/model/image_encoder/modified_resnet.py:230
Function
modified_resnet_R50
(**kwargs)
prototype/model/image_encoder/modified_resnet_modified.py:220
Method
optimizer
(self)
linklink/fp16.py:7
Method
param_clip_after
()
prototype/solver/slip_solver.py:638
Method
param_clip_after
()
prototype/solver/clip_solver.py:509
Method
param_clip_after
()
prototype/solver/defilip_solver.py:667
Method
param_clip_after
()
prototype/solver/declip_solver.py:634
Method
param_clip_after
()
prototype/solver/filip_solver.py:647
Method
param_clip_before
()
prototype/solver/slip_solver.py:628
Method
param_clip_before
()
prototype/solver/clip_solver.py:500
Method
param_clip_before
()
prototype/solver/defilip_solver.py:657
Method
param_clip_before
()
prototype/solver/declip_solver.py:625
Method
param_clip_before
()
prototype/solver/filip_solver.py:637
Function
pil_loader
(img_bytes, filepath)
prototype/data/image_reader.py:12
Function
register_float_module
(param, cast_args=True)
linklink/fp16.py:11
Method
reset_pipeline
(self, pipeline)
prototype/data/nvidia_dali_dataloader.py:63
Method
rotate_with_fill
(img, magnitude)
prototype/data/auto_augmentation.py:232
Method
save_feature
(self, module, input, output)
prototype/tools/inference.py:197
Method
save_gradient
(self, module, grad_in, grad_out)
prototype/tools/inference.py:200
Function
send_info
(info)
prototype/utils/user_analysis_helper.py:7
Method
set_cmp_key
(self, key)
prototype/data/metrics/base_evaluator.py:14
Method
set_epoch
(self, epoch)
prototype/data/sampler.py:53
Method
set_layers
(self, num_layers)
prototype/model/slip.py:81
Method
set_layers
(self, num_layers)
prototype/model/defilip.py:80
Method
set_layers
(self, num_layers)
prototype/model/declip.py:63
Method
setup_envs
(self)
prototype/solver/base_solver.py:11
Function
slip_res50
Constructs a slip_res50 model.
prototype/model/slip.py:289
Function
slip_vitb32
Constructs a slip_vitb32 model.
prototype/model/slip.py:299
Method
stem
(x)
prototype/model/image_encoder/modified_resnet_modified.py:190
Method
stem
(x)
prototype/model/image_encoder/modified_resnet.py:193
Method
step
(self, this_iter=None)
prototype/lr_scheduler/scheduler.py:33
Method
step
Performs a single optimization step. Arguments: - closure (:obj:`callable`, optional): A closure that reevaluates the model and r
prototype/optimizer/lars.py:50
Method
step
(self, closure=None)
prototype/optimizer/adam_clip.py:30
Method
step
Performs a single optimization step. Arguments: - closure (:obj:`callable`, optional): A closure that reevaluates the model and r
prototype/optimizer/AdamW_SGD.py:120
Method
text_modules
(self)
prototype/model/slip.py:218
Method
text_modules
(self)
prototype/model/clip.py:75
Method
text_modules
(self)
prototype/model/defilip.py:205
Method
text_modules
(self)
prototype/model/declip.py:177
Method
text_parameters
(self)
prototype/model/clip.py:64
Method
train
(self, mode=True)
prototype/model/image_encoder/visual_transformer.py:40
Method
train
(self)
prototype/solver/base_solver.py:20
Method
visual_modules
(self)
prototype/model/slip.py:222
Method
visual_modules
(self)
prototype/model/clip.py:91
← previous
next →
501–600 of 606, ranked by callers