↓ 2 callersMethod_prep_prompts(
self, point_coords, point_labels, box, mask_logits, normalize_coords, img_idx=-1
)
VideoCus-Factory/sam2/sam2_image_predictor.py:305
↓ 2 callersMethodforward imgs: [B, 3, H, W] of torch.float32. - mean: [0.48145466, 0.4578275, 0.40821073] - std: [0.26862954, 0.2613025
DiffSynth-Studio/diffsynth/models/wan_video_image_encoder.py:571
↓ 2 callersMethodget_i2v_mask(self, lat_t, lat_h, lat_w, mask_len=1, mask_pixel_values=None, device="cuda")
DiffSynth-Studio/diffsynth/pipelines/wan_video.py:963
↓ 2 callersMethodget_target_embeddings(self, images, messages, processor, model, num_img_tokens=81)
DiffSynth-Studio/diffsynth/models/nexus_gen.py:116
↓ 2 callersMethodinject_motion(self, x, rope_embs, mask_input, motion_latents, drop_motion_frames=True, add_last_motion=2)
DiffSynth-Studio/diffsynth/models/wan_video_dit_s2v.py:448