Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ant-research/DreamLIP
/ functions
Functions
432 in github.com/ant-research/DreamLIP
⨍
Functions
432
◇
Types & classes
72
Function
none_level_to_args
(level)
training/random_aug.py:341
Method
num_channels
(self)
open_clip/transform.py:31
Function
pad
(orig_items, key, max_length=None, padding_value=0, padding_side="left")
training/random_aug.py:21
Method
pairwise_contrastive_loss_instance
(self, a, b, device, logit_scale=1.0)
open_clip/loss.py:250
Function
parse
(x)
open_clip/utils.py:50
Function
posterize_func
same output as PIL.ImageOps.posterize
training/random_aug.py:271
Function
postprocess_clip_output
(model_out)
training/train.py:42
Function
pt_save
(pt_obj, file_path)
training/file_utils.py:64
Function
random_mask_tokenize
( texts: Union[str, List[str]], context_length: int, sot_token_id: int, eot_to
open_clip/tokenizer.py:274
Function
register_pooler
Decorator registering pooler class
open_clip/hf_model.py:39
Function
rel_to_bucket
(n_up: int, n_down: int, max_depth: int = 8)
training/random_aug.py:88
Function
rotate_func
like PIL, rotate by degree, not radians
training/random_aug.py:158
Method
save_pretrained
(self, dest)
open_clip/tokenizer.py:479
Method
set_grad_checkpointing
(self, enable: bool = True)
open_clip/coca_model.py:134
Method
set_grad_checkpointing
(self, enable=True)
open_clip/modified_resnet.py:162
Method
set_grad_checkpointing
(self, enable=True)
open_clip/timm_model.py:143
Method
set_grad_checkpointing
(self, enable=True)
open_clip/hf_model.py:191
Method
set_grad_checkpointing
(self, enable=True)
open_clip/transformer.py:490
Method
set_grad_checkpointing
(self, enable=True)
open_clip/transformer.py:653
Method
set_grad_checkpointing
(self, enable=True)
open_clip/transformer.py:803
Method
set_grad_checkpointing
(self, enable=True)
open_clip/model.py:441
Function
sharpness_func
The differences the this result and PIL are all on the 4 boundaries, the center areas are same
training/random_aug.py:223
Function
shear_x_func
(img, factor, fill=(0, 0, 0))
training/random_aug.py:244
Function
shear_y_func
(img, factor, fill=(0, 0, 0))
training/random_aug.py:279
Function
simple_mask_tokenize
( texts: Union[str, List[str]], context_length: int, sot_token_id: int, eot_to
open_clip/tokenizer.py:303
Function
solarize_func
same output as PIL.ImageOps.posterize
training/random_aug.py:169
Function
syntax_mask_tokenize
Returns the tokenized representation of given input string(s). Apply syntax masking before tokenize.
open_clip/tokenizer.py:325
Function
tarfile_to_samples_nothrow
(src, handler=log_and_continue)
training/data.py:725
Function
tokenize
(texts: Union[str, List[str]], context_length: int = DEFAULT_CONTEXT_LENGTH)
open_clip/tokenizer.py:270
Function
translate_x_func
same output as PIL.Image.transform
training/random_aug.py:251
Function
translate_y_func
same output as PIL.Image.transform
training/random_aug.py:261
Function
worker_init_fn
(worker_id, num_workers, rank, seed)
dataloaders/utils.py:17
← previous
401–432 of 432, ranked by callers