MCPcopy Create free account

hub / github.com/QuanjianSong/FashionChameleon / functions

Functions300 in github.com/QuanjianSong/FashionChameleon

↓ 1 callersMethodconfigure_logger
(self)
trainer/tf_ic.py:119
↓ 1 callersMethodconfigure_optimizers
(self)
trainer/distill_ic.py:186
↓ 1 callersMethodconfigure_optimizers
(self)
trainer/sft_ic.py:141
↓ 1 callersMethodconfigure_optimizers
(self)
trainer/tf_ic.py:140
↓ 1 callersMethodconvert_model_output
r""" Convert the model output to the corresponding type the UniPC algorithm needs. Args: model_output (`torch.Tensor`):
utils/fm_solvers_unipc.py:276
↓ 1 callersMethodconvert_x0_to_noise
Convert the diffusion network's x0 prediction to noise predidction. x0: the predicted clean data with shape [B, C, H, W] xt:
utils/scheduler.py:26
↓ 1 callersMethodcritic_loss
Generate image/videos from noise and train the critic with generated samples. The noisy input to the generator is backward simulated.
models/gr_dmd_ic.py:304
↓ 1 callersMethodfwdbwd_one_step
(self)
trainer/sft_ic.py:214
↓ 1 callersMethodfwdbwd_one_step
(self)
trainer/tf_ic.py:202
↓ 1 callersMethodgenerate_and_sync_list
(self, num_blocks, num_denoising_steps, device)
pipelines/self_forcing_wan22_ic_training.py:53
↓ 1 callersFunctionget_denoising_loss
(loss_type: str)
utils/loss.py:80
↓ 1 callersMethodinference
(self, noise: torch.Tensor, text_prompts: List[str], src_data, cloth_data)
pipelines/wan22_ic_inference.py:75
↓ 1 callersMethodinference_with_trajectory
( self, noisy_image_or_video: torch.Tensor, return_sim_step: bool = False, **c
pipelines/self_forcing_wan22_ic_training.py:72
↓ 1 callersMethodinit_weights
r""" Initialize model parameters using Xavier initialization.
backbones/wan22/modules/causal_model.py:1122
↓ 1 callersMethodinit_weights
r""" Initialize model parameters using Xavier initialization.
backbones/wan22/modules/model.py:599
↓ 1 callersMethodlog_metrics
(self, metrics: dict)
trainer/distill_ic.py:471
↓ 1 callersMethodlog_metrics
(self, metrics: dict)
trainer/sft_ic.py:330
↓ 1 callersMethodlog_metrics
(self, metrics: dict)
trainer/tf_ic.py:312
↓ 1 callersMethodlog_videos
(self, video, text_prompts)
trainer/distill_ic.py:480
↓ 1 callersFunctionmain
()
trainer/train.py:27
↓ 1 callersMethodmultistep_uni_c_bh_update
One step for the UniC (B(h) version). Args: this_model_output (`torch.Tensor`): The model outputs at `x_
utils/fm_solvers_unipc.py:483
↓ 1 callersMethodmultistep_uni_p_bh_update
One step for the UniP (B(h) version). Alternatively, `self.solver_p` is used if is specified. Args: model_output (`torch
utils/fm_solvers_unipc.py:347
↓ 1 callersFunctionparse_args
()
trainer/train.py:12
↓ 1 callersFunctionpatchify
(x, patch_size)
backbones/wan22/modules/vae2_2.py:274
↓ 1 callersMethodpost_init
A few custom initialization steps that should be called after the object is created. Currently, the only one we have is to bind a few
backbones/wan_wrapper.py:312
↓ 1 callersMethodreparameterize
(self, mu, log_var)
backbones/wan22/modules/vae2_1.py:569
↓ 1 callersMethodsave
(self)
trainer/distill_ic.py:236
↓ 1 callersMethodsave
(self)
trainer/sft_ic.py:195
↓ 1 callersMethodsave
(self)
trainer/tf_ic.py:183
↓ 1 callersMethodstep
Predict the sample from the previous timestep by reversing the SDE. This function propagates the sample with the multistep UniPC.
utils/fm_solvers_unipc.py:652
↓ 1 callersMethodstream_inference
( self, noisy_image_or_video, text_prompts, src_data=None, cloth_data=
pipelines/stream_wan22_ic_inference.py:101
↓ 1 callersMethodtime_shift
(self, mu: float, sigma: float, t: torch.Tensor)
utils/fm_solvers_unipc.py:273
↓ 1 callersMethodtrain
(self)
trainer/tf_ic.py:245
↓ 1 callersFunctionunpatchify
(x, patch_size)
backbones/wan22/modules/vae2_2.py:293
↓ 1 callersMethodunpatchify
r""" Reconstruct video tensors from patch embeddings. Args: x (List[Tensor]): List of patchified features
backbones/wan22/modules/model.py:574
↓ 1 callersMethodvalidate
(self)
trainer/distill_ic.py:425
Method__call__
(self, sequence, **kwargs)
backbones/wan22/modules/tokenizers.py:49
Method__call__
(self, texts, device)
backbones/wan22/modules/t5.py:506
Method__call__
Base class for denoising loss. Input: - x: the clean data with shape [B, F, C, H, W] - x_pred: the predicted
utils/loss.py:7
Method__call__
( self, x: torch.Tensor, x_pred: torch.Tensor, noise: torch.Tensor, noise_pred: torch.Tensor,
utils/loss.py:28
Method__call__
( self, x: torch.Tensor, x_pred: torch.Tensor, noise: torch.Tensor, noise_pred: torch.Tensor,
utils/loss.py:39
Method__call__
( self, x: torch.Tensor, x_pred: torch.Tensor, noise: torch.Tensor, noise_pred: torch.Tensor,
utils/loss.py:51
Method__call__
( self, x: torch.Tensor, x_pred: torch.Tensor, noise: torch.Tensor, noise_pred: torch.Tensor,
utils/loss.py:62
Method__call__
(self, images)
utils/aesthetic_scorer.py:38
Method__call__
(self, img)
datasets/fashion_dataset.py:21
Method__call__
(self, img)
datasets/fashion_dataset.py:41
Method__getitem__
(self, idx)
datasets/fashion_dataset.py:152
Method__init__
(self, model_name="./checkpoints/wan_models/Wan2.2-TI2V-5B")
backbones/wan_wrapper.py:17
Method__init__
( self, model_name="./checkpoints/wan_models/Wan2.2-TI2V-5B", timestep_shi
backbones/wan_wrapper.py:132
Method__init__
(self, dim, num_heads, local_attn_size=-1,
backbones/wan22/modules/causal_model.py:59
Method__init__
(self, dim, ffn_dim, num_heads, local_attn
backbones/wan22/modules/causal_model.py:317
Method__init__
r""" Initialize the diffusion model backbone. Args: model_type (`str`, *optional*, defaults to 't2v'): Mo
backbones/wan22/modules/causal_model.py:452
Method__init__
(self, name, seq_len=None, clean=None, **kwargs)
backbones/wan22/modules/tokenizers.py:39
Method__init__
(self, dim, eps=1e-6)
backbones/wan22/modules/t5.py:55
Method__init__
(self, dim, dim_attn, num_heads, dropout=0.1)
backbones/wan22/modules/t5.py:71
Method__init__
(self, dim, dim_ffn, dropout=0.1)
backbones/wan22/modules/t5.py:125
Method__init__
(self, dim, dim_attn, dim_ffn, num_heads,
backbones/wan22/modules/t5.py:146
Method__init__
(self, dim, dim_attn, dim_ffn, num_heads,
backbones/wan22/modules/t5.py:180
Method__init__
(self, num_buckets, num_heads, bidirectional, max_dist=128)
backbones/wan22/modules/t5.py:223
Method__init__
(self, vocab, dim, dim_attn, dim_ffn,
backbones/wan22/modules/t5.py:269
Method__init__
(self, vocab, dim, dim_attn, dim_ffn,
backbones/wan22/modules/t5.py:317
Method__init__
( self, text_len, dtype=torch.bfloat16, device=torch.cuda.current_device(),
backbones/wan22/modules/t5.py:474
Method__init__
(self, *args, **kwargs)
backbones/wan22/modules/vae2_2.py:21
Method__init__
(self, dim, channel_first=True, images=True, bias=False)
backbones/wan22/modules/vae2_2.py:45
Method__init__
(self, dim, mode)
backbones/wan22/modules/vae2_2.py:69
Method__init__
(self, in_dim, out_dim, dropout=0.0)
backbones/wan22/modules/vae2_2.py:190
Method__init__
(self, dim)
backbones/wan22/modules/vae2_2.py:237
Method__init__
( self, in_channels, out_channels, factor_t, factor_s=1, )
backbones/wan22/modules/vae2_2.py:311
Method__init__
(self, in_dim, out_dim, dropout, mult,
backbones/wan22/modules/vae2_2.py:408
Method__init__
(self, in_dim, out_dim, dropout, mult,
backbones/wan22/modules/vae2_2.py:447
Method__init__
( self, dim=128, z_dim=4, dim_mult=[1, 2, 4, 4], num_res_blocks=2,
backbones/wan22/modules/vae2_2.py:491
Method__init__
( self, dim=128, z_dim=4, dim_mult=[1, 2, 4, 4], num_res_blocks=2,
backbones/wan22/modules/vae2_2.py:605
Method__init__
( self, dim=160, dec_dim=256, z_dim=16, dim_mult=[1, 2, 4, 4],
backbones/wan22/modules/vae2_2.py:722
Method__init__
( self, z_dim=48, c_dim=160, vae_pth=None, dim_mult=[1, 2, 4, 4],
backbones/wan22/modules/vae2_2.py:876
Method__init__
(self, *args, **kwargs)
backbones/wan22/modules/vae2_1.py:21
Method__init__
(self, dim, channel_first=True, images=True, bias=False)
backbones/wan22/modules/vae2_1.py:40
Method__init__
(self, dim, mode)
backbones/wan22/modules/vae2_1.py:67
Method__init__
(self, in_dim, out_dim, dropout=0.0)
backbones/wan22/modules/vae2_1.py:187
Method__init__
(self, dim)
backbones/wan22/modules/vae2_1.py:227
Method__init__
(self, dim=128, z_dim=4, dim_mult=[1, 2, 4, 4],
backbones/wan22/modules/vae2_1.py:266
Method__init__
(self, dim=128, z_dim=4, dim_mult=[1, 2, 4, 4],
backbones/wan22/modules/vae2_1.py:370
Method__init__
(self, z_dim=16, vae_pth='cache/vae_step_411000.pth', dtype
backbones/wan22/modules/vae2_1.py:620
Method__init__
(self, dim, eps=1e-5)
backbones/wan22/modules/model.py:86
Method__init__
(self, dim, eps=1e-6, elementwise_affine=False)
backbones/wan22/modules/model.py:104
Method__init__
(self, dim, num_heads, window_size=(-1, -1),
backbones/wan22/modules/model.py:116
Method__init__
(self, dim, ffn_dim, num_heads, window_siz
backbones/wan22/modules/model.py:198
Method__init__
r""" Initialize the diffusion model backbone. Args: model_type (`str`, *optional*, defaults to 't2v'): Mo
backbones/wan22/modules/model.py:320
Method__init__
(self, num_inference_steps=100, num_train_timesteps=1000, shift=5.0, sigma_max=1.0, sigma_min=0.003 / 1.002, i
utils/scheduler.py:107
Method__init__
(self, fsdp_module: torch.nn.Module, decay: float = 0.999)
utils/distributed.py:95
Method__init__
(self, dtype)
utils/aesthetic_scorer.py:27
Method__init__
( self, num_train_timesteps: int = 1000, solver_order: int = 2,
utils/fm_solvers_unipc.py:74
Method__init__
(self, args)
pipelines/causal_wan22_ic_inference.py:9
Method__init__
(self, args)
pipelines/stream_wan22_ic_inference.py:7
Method__init__
(self, denoising_step_list: List[int], scheduler: SchedulerInterface,
pipelines/self_forcing_wan22_ic_training.py:9
Method__init__
(self, args)
pipelines/wan22_ic_inference.py:11
Method__init__
(self, config)
trainer/distill_ic.py:19
Method__init__
(self, config)
trainer/sft_ic.py:20
Method__init__
(self, config)
trainer/tf_ic.py:19
Method__init__
(self, target_h, target_w)
datasets/fashion_dataset.py:17
Method__init__
(self, target_height, target_width, fill_color=(255, 255, 255))
datasets/fashion_dataset.py:36
← previousnext →101–200 of 300, ranked by callers