Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ASTRAL-Group/ASTRA
/ functions
Functions
656 in github.com/ASTRAL-Group/ASTRA
⨍
Functions
656
◇
Types & classes
97
↳
Endpoints
1
Method
response
(self)
image_attr/image_attr_qwen.py:155
Method
resume_ckpt_path
(self)
minigpt4/runners/runner_base.py:339
Function
rotate_func
like PIL, rotate by degree, not radians
minigpt4/processors/randaugment.py:76
Method
run_cfg
(self)
minigpt4/common/config.py:132
Method
save_attn_gradients
(self, attn_gradients)
minigpt4/models/Qformer.py:149
Function
save_file
Common i/o utility to handle saving data to various file formats. Supported: .pkl, .pickle, .npy, .json Specifically for .json, u
minigpt4/common/utils.py:275
Method
save_result
(result, result_dir, filename, remove_duplicate="")
minigpt4/tasks/base_task.py:249
Method
scaler
(self)
minigpt4/runners/runner_base.py:132
Method
separators
(self)
image_attr/context_partitioner.py:168
Method
set_decoder
(self, decoder)
minigpt4/models/modeling_llama.py:621
Method
set_input_embeddings
(self, value)
minigpt4/models/Qformer.py:702
Method
set_input_embeddings
(self, value)
minigpt4/models/modeling_llama.py:438
Method
set_input_embeddings
(self, value)
minigpt4/models/modeling_llama.py:612
Method
set_output_embeddings
(self, new_embeddings)
minigpt4/models/Qformer.py:984
Method
set_output_embeddings
(self, new_embeddings)
minigpt4/models/Qformer.py:1147
Method
set_output_embeddings
(self, new_embeddings)
minigpt4/models/modeling_llama.py:618
Method
set_processors
(self, vis_processor, text_processor)
minigpt4/datasets/datasets/base_dataset.py:40
Function
setup_logger
()
minigpt4/common/logger.py:190
Function
setup_task
(cfg)
minigpt4/tasks/__init__.py:13
Function
sharpness_func
The differences the this result and PIL are all on the 4 boundaries, the center areas are same
minigpt4/processors/randaugment.py:138
Function
shear_x_func
(img, factor, fill=(0, 0, 0))
minigpt4/processors/randaugment.py:159
Function
shear_y_func
(img, factor, fill=(0, 0, 0))
minigpt4/processors/randaugment.py:200
Method
show_n_params
(self, return_str=True)
minigpt4/models/base_model.py:105
Function
solarize_func
same output as PIL.ImageOps.posterize
minigpt4/processors/randaugment.py:87
Method
sources
The sources within the context. I.e., the context as a list where each element is a source. Returns: List[str]:
image_attr/image_attr_minigpt.py:197
Method
sources
The sources within the context. I.e., the context as a list where each element is a source. Returns: List[str]:
image_attr/image_attr_llava.py:158
Method
sources
A list of all sources.
image_attr/context_partitioner.py:51
Method
sources
A list of all sources.
image_attr/context_partitioner.py:140
Method
sources
The sources within the context. I.e., the context as a list where each element is a source. Returns: List[str]:
image_attr/image_attr_qwen.py:173
Method
specify_output
(self, jb_output)
image_attr/image_attr_minigpt.py:164
Method
specify_output
(self, jb_output)
image_attr/image_attr_llava.py:125
Method
split_context
Split the context into sources.
image_attr/context_partitioner.py:39
Method
split_context
(self)
image_attr/context_partitioner.py:133
Method
step
(self, cur_epoch, cur_step)
minigpt4/common/optims.py:79
Method
synchronize_between_processes
Warning: does not synchronize the deque!
minigpt4/common/logger.py:37
Method
test_splits
(self)
minigpt4/runners/runner_base.py:313
Function
tile
(x, dim, n_tile)
minigpt4/models/base_model.py:239
Method
to_dict
(self, sample)
minigpt4/datasets/datasets/laion_dataset.py:26
Method
to_dict
(self, sample)
minigpt4/datasets/datasets/cc_sbu_dataset.py:22
Function
to_google_drive_download_url
Utility function to transform a view URL of google drive to a download URL for google drive Example input: https://drive.google.c
minigpt4/common/utils.py:93
Method
to_gradio_chatbot
(self)
minigpt4/conversation/conversation.py:78
Method
train_epoch
( self, epoch, model, data_loader, optimizer, lr_scheduler,
minigpt4/tasks/base_task.py:102
Method
train_iters
( self, epoch, start_iters, iters_per_inner_epoch, model, data
minigpt4/tasks/base_task.py:127
Method
train_loader
(self)
minigpt4/runners/runner_base.py:343
Method
train_splits
(self)
minigpt4/runners/runner_base.py:319
Function
translate_x_func
same output as PIL.Image.transform
minigpt4/processors/randaugment.py:168
Function
translate_y_func
same output as PIL.Image.transform
minigpt4/processors/randaugment.py:180
Method
unregister
r"""Remove an item from registry with key 'name' Args: name: Key which needs to be removed. Usage:: from mmf
minigpt4/common/registry.py:315
Method
update_text_prompt
(self, text_prompts)
minigpt_utils/prompt_wrapper.py:87
Method
upload_img
(self, image, conv, img_list)
minigpt4/conversation/conversation.py:196
Method
use_dist_eval_sampler
(self)
minigpt4/runners/runner_base.py:335
Method
use_distributed
(self)
minigpt4/runners/runner_base.py:75
Method
valid_splits
(self)
minigpt4/runners/runner_base.py:304
Method
wrap
(builder_cls)
minigpt4/common/registry.py:34
Method
wrap_prompt
(self, text_prompt_template, adv_prompt, queries, batch_size)
minigpt_utils/text_attacker.py:80
Function
wrapper
(*args, **kwargs)
minigpt4/common/dist_utils.py:109
← previous
601–656 of 656, ranked by callers