MCPcopy Create free account

hub / github.com/ant-research/DreamLIP / functions

Functions432 in github.com/ant-research/DreamLIP

Functionnone_level_to_args
(level)
training/random_aug.py:341
Methodnum_channels
(self)
open_clip/transform.py:31
Functionpad
(orig_items, key, max_length=None, padding_value=0, padding_side="left")
training/random_aug.py:21
Methodpairwise_contrastive_loss_instance
(self, a, b, device, logit_scale=1.0)
open_clip/loss.py:250
Functionparse
(x)
open_clip/utils.py:50
Functionposterize_func
same output as PIL.ImageOps.posterize
training/random_aug.py:271
Functionpostprocess_clip_output
(model_out)
training/train.py:42
Functionpt_save
(pt_obj, file_path)
training/file_utils.py:64
Functionrandom_mask_tokenize
( texts: Union[str, List[str]], context_length: int, sot_token_id: int, eot_to
open_clip/tokenizer.py:274
Functionregister_pooler
Decorator registering pooler class
open_clip/hf_model.py:39
Functionrel_to_bucket
(n_up: int, n_down: int, max_depth: int = 8)
training/random_aug.py:88
Functionrotate_func
like PIL, rotate by degree, not radians
training/random_aug.py:158
Methodsave_pretrained
(self, dest)
open_clip/tokenizer.py:479
Methodset_grad_checkpointing
(self, enable: bool = True)
open_clip/coca_model.py:134
Methodset_grad_checkpointing
(self, enable=True)
open_clip/modified_resnet.py:162
Methodset_grad_checkpointing
(self, enable=True)
open_clip/timm_model.py:143
Methodset_grad_checkpointing
(self, enable=True)
open_clip/hf_model.py:191
Methodset_grad_checkpointing
(self, enable=True)
open_clip/transformer.py:490
Methodset_grad_checkpointing
(self, enable=True)
open_clip/transformer.py:653
Methodset_grad_checkpointing
(self, enable=True)
open_clip/transformer.py:803
Methodset_grad_checkpointing
(self, enable=True)
open_clip/model.py:441
Functionsharpness_func
The differences the this result and PIL are all on the 4 boundaries, the center areas are same
training/random_aug.py:223
Functionshear_x_func
(img, factor, fill=(0, 0, 0))
training/random_aug.py:244
Functionshear_y_func
(img, factor, fill=(0, 0, 0))
training/random_aug.py:279
Functionsimple_mask_tokenize
( texts: Union[str, List[str]], context_length: int, sot_token_id: int, eot_to
open_clip/tokenizer.py:303
Functionsolarize_func
same output as PIL.ImageOps.posterize
training/random_aug.py:169
Functionsyntax_mask_tokenize
Returns the tokenized representation of given input string(s). Apply syntax masking before tokenize.
open_clip/tokenizer.py:325
Functiontarfile_to_samples_nothrow
(src, handler=log_and_continue)
training/data.py:725
Functiontokenize
(texts: Union[str, List[str]], context_length: int = DEFAULT_CONTEXT_LENGTH)
open_clip/tokenizer.py:270
Functiontranslate_x_func
same output as PIL.Image.transform
training/random_aug.py:251
Functiontranslate_y_func
same output as PIL.Image.transform
training/random_aug.py:261
Functionworker_init_fn
(worker_id, num_workers, rank, seed)
dataloaders/utils.py:17
← previous401–432 of 432, ranked by callers