↓ 9 callersMethod__init__(self, channels, use_conv, dims=2, out_channels=None, padding=1)
diff2flow/models/unet/openaimodel.py:103
↓ 7 callersFunctionpad_v_like_x Function to reshape the vector by the number of dimensions of x. E.g. x (bs, c, h, w), v (bs) -> v (bs, 1, 1, 1).
diff2flow/flow.py:25
↓ 6 callersMethod__init__(self, *, ch, out_ch, ch_mult=(1,2,4,8), num_res_blocks,
attn_resolutions, dropout=0.0, resam
diff2flow/kl_autoencoder.py:251
↓ 2 callersMethod__init__ kwargs must contain the output keys with their corresponding shapes, e.g. image=(3, 32, 32), label=(1,)
diff2flow/dataloader.py:265
↓ 2 callersFunctionpad_vector_like_x Function to reshape the vector by the number of dimensions of x. E.g. x (bs, c, h, w), v (bs) -> v (bs, 1, 1, 1). Args: x :
diff2flow/dataset/depth_utils.py:107
↓ 2 callersFunctiontensor2im Args: tensor: Tensor of shape (..., 3, h, w) in range [-1, 1] or [0, 1] denormalize_zero_one: If True, denormalizes image from ra
diff2flow/visualizer.py:28