↓ 7 callersMethodrun(
self,
model,
selected_path,
task,
custom_steps,
eta,
scripts/sd_utils_old.py:1172
↓ 7 callersFunctionsave_sample(
image,
sample_path_i,
filename,
jpg_sample,
prompts,
seeds,
width,
height,
scripts/sd_utils_old.py:2568
↓ 7 callersMethodsuperResolution #Run settings diffusion_steps = int(ddimSteps) #@param [25, 50, 100, 250, 500, 1000] eta = 1.0 #@param {type: 'raw'}
scripts/sd_utils_old.py:1427
↓ 6 callersFunctionsave_sample(
image,
sample_path_i,
filename,
jpg_sample,
prompts,
seeds,
width,
height,
scripts/sd_utils/__init__.py:2606
↓ 5 callersMethodget_fold_unfold :param x: img of size (bs, c, h, w) :return: n img crops of size (n, bs, c, kernel_size[0], kernel_size[1])
ldm/models/diffusion/ddpm.py:757
↓ 4 callersFunction_make_vit_b16_backbone(
model,
features=[96, 192, 384, 768],
size=[384, 384],
hooks=[2, 5, 8, 11],
vit_features=
ldm/modules/midas/midas/vit.py:183
↓ 4 callersFunctioncalculate_weights_indices(
in_length, out_length, scale, kernel, kernel_width, antialiasing
)
ldm/modules/image_degradation/utils_image.py:768