↓ 1 callersFunctionload_pretrained(
model,
cfg=None,
num_classes=1000,
in_chans=3,
filter_fn=None,
img_size=224,
num
lavis/models/timesformer/helpers.py:102
↓ 1 callersFunctionpad_same(x, k: List[int], s: List[int], d: List[int] = (1, 1), value: float = 0)
lavis/models/timesformer/conv2d_same.py:24
↓ 1 callersFunctionpred_lines(image, model,
input_shape=[512, 512],
score_thr=0.10,
dist_thr=2
lavis/common/annotator/mlsd/utils.py:47
↓ 1 callersFunctionprepare_cond_image(
image, width, height, batch_size, device, do_classifier_free_guidance=True
)
lavis/models/blip_diffusion_models/utils.py:56