MCPcopy Create free account

hub / github.com/OpenImagingLab/FlashVSR / functions

Functions2,110 in github.com/OpenImagingLab/FlashVSR

Method__call__
(self, features)
diffsynth/prompters/omnigen_prompter.py:287
Method__call__
(self, features)
diffsynth/prompters/omnigen_prompter.py:315
Method__call__
(self,prompt_dict:dict)
diffsynth/prompters/omost.py:270
Method__call__
(self, raw_prompt, positive=True, **kwargs)
diffsynth/prompters/prompt_refiners.py:32
Method__call__
(self, raw_prompt, positive=True, **kwargs)
diffsynth/prompters/prompt_refiners.py:79
Method__call__
(self, prompt, **kwargs)
diffsynth/prompters/prompt_refiners.py:125
Method__call__
(self, rendered_frames, original_frames=None, **kwargs)
diffsynth/extensions/FastBlend/__init__.py:54
Method__call__
Returns the tokenized representation of given input string(s) Parameters ---------- texts : Union[str, List[str]]
diffsynth/extensions/ImageQualityMetric/open_clip/tokenizer.py:155
Method__call__
(self, texts: Union[str, List[str]], context_length: int = 77)
diffsynth/extensions/ImageQualityMetric/open_clip/tokenizer.py:198
Method__call__
(self, rendered_frames, scale=1.0, batch_size=4, num_iter=1, **kwargs)
diffsynth/extensions/RIFE/__init__.py:220
Method__call__
(self, text, max_length=320, padding="max_length", truncation=True, return_tensors="pt")
diffsynth/models/stepvideo_text_encoder.py:199
Method__call__
input: * tokens: batch_size x ntokens x nheads x dim * positions: batch_size x ntokens (t position of each token)
diffsynth/models/stepvideo_dit.py:395
Method__call__
input: * tokens: batch_size x ntokens x nheads x dim * rope_positions: list of (f, h, w) output:
diffsynth/models/stepvideo_dit.py:425
Method__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
diffsynth/models/kolors_text_encoder.py:312
Method__call__
(self, rendered_frames, original_frames=None, **kwargs)
diffsynth/processors/FastBlend.py:130
Method__call__
(self)
diffsynth/processors/base.py:5
Method__call__
(self, rendered_frames, **kwargs)
diffsynth/processors/PILEditor.py:13
Method__call__
(self, rendered_frames, **kwargs)
diffsynth/processors/PILEditor.py:26
Method__call__
(self, rendered_frames, **kwargs)
diffsynth/processors/sequencial_processor.py:38
Method__call__
(self, rendered_frames, **kwargs)
diffsynth/processors/RIFE.py:55
Method__del__
(self)
diffsynth/data/video.py:17
Method__del__
(self)
diffsynth/data/video.py:61
Method__del__
(self)
diffsynth/data/video.py:128
Method__del__
(self)
diffsynth/extensions/FastBlend/data.py:42
Method__del__
(self)
diffsynth/extensions/FastBlend/data.py:92
Method__del__
(self)
diffsynth/extensions/FastBlend/data.py:145
Method__getitem__
(self, index)
diffsynth/data/simple_text_image.py:26
Method__getitem__
(self, item)
diffsynth/data/video.py:14
Method__getitem__
(self, item)
diffsynth/data/video.py:58
Method__getitem__
Gets the cache for this layer to the device. Prefetches the next and evicts the previous layer.
diffsynth/pipelines/omnigen_image.py:50
Method__getitem__
(self, item)
diffsynth/extensions/FastBlend/data.py:39
Method__getitem__
(self, item)
diffsynth/extensions/FastBlend/data.py:89
Method__init__
(self, module: torch.nn.Linear, offload_dtype, offload_device, onload_dtype, onload_device, computation_dtype,
diffsynth/vram_management/layers.py:42
Method__init__
(self, processor_id: Processor_id, model_path, scale=1.0, skip_processor=False)
diffsynth/controlnets/controlnet_unit.py:7
Method__init__
(self, controlnet_units=[])
diffsynth/controlnets/controlnet_unit.py:22
Method__init__
(self, controlnet_units=[])
diffsynth/controlnets/controlnet_unit.py:69
Method__init__
(self, processor_id: Processor_id, model_path="models/Annotators", detect_resolution=None, device='cuda', skip
diffsynth/controlnets/processors.py:9
Method__init__
(self, dataset_path, steps_per_epoch=10000, height=1024, width=1024, center_crop=True, random_flip=False)
diffsynth/data/simple_text_image.py:9
Method__init__
(self, file_name)
diffsynth/data/video.py:8
Method__init__
(self, folder, file_list=None)
diffsynth/data/video.py:49
Method__init__
(self, video_file=None, image_folder=None, height=None, width=None, **kwargs)
diffsynth/data/video.py:82
Method__init__
(self, levels: int = 5)
diffsynth/pipelines/flashvsr_tiny.py:88
Method__init__
(self, device="cuda", torch_dtype=torch.float16)
diffsynth/pipelines/flashvsr_tiny.py:155
Method__init__
(self, device="cuda", torch_dtype=torch.float16)
diffsynth/pipelines/svd_video.py:14
Method__init__
(self)
diffsynth/pipelines/svd_video.py:193
Method__init__
(self, device="cuda", torch_dtype=torch.float16, use_original_animatediff=True)
diffsynth/pipelines/sdxl_video.py:17
Method__init__
(self, device="cuda", torch_dtype=torch.float16, height_division_factor=64, width_division_factor=64)
diffsynth/pipelines/base.py:10
Method__init__
(self, in_streamlit=False)
diffsynth/pipelines/pipeline_runner.py:9
Method__init__
(self, device="cuda", torch_dtype=torch.float16, use_original_animatediff=True)
diffsynth/pipelines/sd_video.py:70
Method__init__
(self, device="cuda", torch_dtype=torch.float16)
diffsynth/pipelines/step_video.py:22
Method__init__
(self, device="cuda", torch_dtype=torch.float16)
diffsynth/pipelines/hunyuan_video.py:17
Method__init__
(self, device="cuda", torch_dtype=torch.float16)
diffsynth/pipelines/cog_video.py:15
Method__init__
(self, levels: int = 5)
diffsynth/pipelines/flashvsr_full.py:88
Method__init__
(self, device="cuda", torch_dtype=torch.float16)
diffsynth/pipelines/flashvsr_full.py:155
Method__init__
(self, device="cuda", torch_dtype=torch.float16)
diffsynth/pipelines/flux_image.py:22
Method__init__
(self, device="cuda", torch_dtype=torch.bfloat16)
diffsynth/pipelines/flux_image.py:562
Method__init__
(self, device="cuda", torch_dtype=torch.float16)
diffsynth/pipelines/sd3_image.py:12
Method__init__
(self, device="cuda", torch_dtype=torch.float16)
diffsynth/pipelines/hunyuan_image.py:127
Method__init__
(self, device="cuda", torch_dtype=torch.float16)
diffsynth/pipelines/omnigen_image.py:124
Method__init__
(self, device="cuda", torch_dtype=torch.float16)
diffsynth/pipelines/sdxl_image.py:18
Method__init__
(self, levels: int = 5)
diffsynth/pipelines/flashvsr_tiny_long.py:88
Method__init__
(self, device="cuda", torch_dtype=torch.float16)
diffsynth/pipelines/flashvsr_tiny_long.py:155
Method__init__
(self, device="cuda", torch_dtype=torch.float16, tokenizer_path=None)
diffsynth/pipelines/wan_video.py:28
Method__init__
(self, device="cuda", torch_dtype=torch.float16)
diffsynth/pipelines/sd_image.py:16
Method__init__
( self, tokenizer_1_path=None, tokenizer_2_path=None )
diffsynth/prompters/flux_prompter.py:9
Method__init__
(self, vocab_file, padding_side="left", clean_up_tokenization_spaces=False, encode_special_tokens=False,
diffsynth/prompters/kolors_prompter.py:98
Method__init__
( self, tokenizer_path=None )
diffsynth/prompters/kolors_prompter.py:308
Method__init__
( self, tokenizer_1_path=None, tokenizer_2_path=None, tokenizer_3_path=None
diffsynth/prompters/sd3_prompter.py:9
Method__init__
( self, tokenizer_path=None, tokenizer_2_path=None )
diffsynth/prompters/sdxl_prompter.py:10
Method__init__
(self, tokenizer_path=None)
diffsynth/prompters/sd_prompter.py:10
Method__init__
(self, name, seq_len=None, clean=None, **kwargs)
diffsynth/prompters/wan_prompter.py:38
Method__init__
(self, tokenizer_path=None, text_len=512)
diffsynth/prompters/wan_prompter.py:86
Method__init__
( self, tokenizer_1_path=None, )
diffsynth/prompters/stepvideo_prompter.py:10
Method__init__
( self, tokenizer_1_path=None, tokenizer_2_path=None, )
diffsynth/prompters/hunyuan_video_prompter.py:72
Method__init__
( self, tokenizer_path=None, tokenizer_t5_path=None )
diffsynth/prompters/hunyuan_dit_prompter.py:9
Method__init__
(self, text_tokenizer, max_image_size: int=1024)
diffsynth/prompters/omnigen_prompter.py:45
Method__init__
(self, pad_token_id=2, hidden_size=3072)
diffsynth/prompters/omnigen_prompter.py:173
Method__init__
(self,model = None,tokenizer = None, template = "",device="cpu")
diffsynth/prompters/omost.py:237
Method__init__
(self)
diffsynth/prompters/base_prompter.py:40
Method__init__
( self, tokenizer_path=None )
diffsynth/prompters/cog_prompter.py:8
Method__init__
(self, tokenizer_path=None, model=None, template="")
diffsynth/prompters/prompt_refiners.py:7
Method__init__
(self, tokenizer_path=None, model=None)
diffsynth/prompters/prompt_refiners.py:112
Method__init__
(self, num_train_timesteps=1000, beta_start=0.00085, beta_end=0.012, beta_schedule="scaled_linear", prediction
diffsynth/schedulers/ddim.py:6
Method__init__
(self, num_inference_steps=100, sigma_max=700.0, sigma_min=0.002, rho=7.0)
diffsynth/schedulers/continuous_ode.py:6
Method__init__
(self, num_inference_steps=100, num_train_timesteps=1000, shift=3.0, sigma_max=1.0, sigma_min=0.003/1.002, inv
diffsynth/schedulers/flow_match.py:7
Method__init__
( self, learning_rate=1e-4, use_gradient_checkpointing=True, state_dict_conver
diffsynth/trainers/text_to_image.py:11
Method__init__
( self, height, width, channel, minimum_patch_size, threads_per_block=8, num_iter=5, gpu_id=0,
diffsynth/extensions/FastBlend/patch_match.py:8
Method__init__
( self, image_height, image_width, channel, minimum_patch_size, threads_per_block=8, num_iter=
diffsynth/extensions/FastBlend/patch_match.py:206
Method__init__
(self)
diffsynth/extensions/FastBlend/api.py:93
Method__init__
(self)
diffsynth/extensions/FastBlend/__init__.py:8
Method__init__
(self, file_name)
diffsynth/extensions/FastBlend/data.py:33
Method__init__
(self, folder, file_list=None)
diffsynth/extensions/FastBlend/data.py:80
Method__init__
(self, video_file, image_folder, **kwargs)
diffsynth/extensions/FastBlend/data.py:97
Method__init__
(self)
diffsynth/extensions/FastBlend/runners/interpolation.py:9
Method__init__
(self)
diffsynth/extensions/FastBlend/runners/interpolation.py:88
Method__init__
(self)
diffsynth/extensions/FastBlend/runners/accurate.py:9
Method__init__
(self)
diffsynth/extensions/FastBlend/runners/fast.py:9
Method__init__
(self)
diffsynth/extensions/FastBlend/runners/fast.py:110
Method__init__
(self)
diffsynth/extensions/FastBlend/runners/balanced.py:9
Method__init__
(self, num_feat=64, num_grow_ch=32)
diffsynth/extensions/ESRGAN/__init__.py:9
← previousnext →901–1,000 of 2,110, ranked by callers