↓ 2 callersFunctionload_img(
display: bool = True,
size: Union[None, int, Tuple[int, int]] = None,
center_crop: bool = False,
scripts/demo/streamlit_helpers.py:445
↓ 2 callersMethodsampler_step(self, sigma, next_sigma, denoiser, x, cond, uc=None, gamma=0.0)
sgm/modules/diffusionmodules/sampling.py:93
↓ 1 callersMethod__init__(
self,
dim,
n_heads,
d_head,
dropout=0.0,
context_dim=None,
sgm/modules/video_attention.py:21
↓ 1 callersFunctionapply_refiner(
input,
state,
sampler,
num_samples,
prompt,
negative_prompt,
filter=None,
fi
scripts/demo/sampling.py:210
↓ 1 callersMethodbuild(
self,
onnx_path,
fp16,
input_profile=None,
enable_refit=False,
tensorrt_acceleration/utilities.py:204
↓ 1 callersFunctiondo_sample(
model,
sampler,
value_dict,
num_samples,
H,
W,
C,
F,
force_uc_zero_embed
sgm/inference/helpers.py:101