↓ 3 callersFunctionget_dataloader(dataset, batch_size, num_workers, seed=0, shuffle=True, drop_last=False)
dynamic_city/utils/data_utils.py:18
↓ 2 callersMethodget_metrics(self, tp=None, fp=None, fn=None, bin_tp=None, bin_fp=None, bin_fn=None, mask=False)
dynamic_city/utils/metrics.py:56
↓ 2 callersFunctionhexplane_to_rollout Padded rollout, converts hexplane to (b, c, x+t+z, y+z+t) - xy: :x, :y - xz: :x, y:y+z - zy: x+t:, - tx: :x, y+z: - ty: x:x+t
dynamic_city/utils/hexplane_utils.py:4
↓ 1 callersMethod__init__(self, dim, num_heads, qkv_bias=False, attn_drop=0., proj_drop=0.)
dynamic_city/utils/attention_utils.py:7
↓ 1 callersMethodforward(
self, x, t, hexplane, layout, cmd, traj,
inference=False, drop_hex=False, drop_layout=False,
dynamic_city/diffusion/models.py:213