↓ 6 callersFunctionto_torch_tensor Converts a NumPy array of shape (B, H, W, C) to a (B, C, H, W) float32 Torch tensor. Expects image to be in [0, 1] or [0, 255]. Adjust if
src/eval/utils.py:142
↓ 2 callersFunctionprepare_dataloader(
data_path: Path,
batch_size: int,
workers: int,
rank: int,
world_size: int,
transfor
src/utils/train_utils.py:79
↓ 1 callersFunction_compute_inception_moments_from_arr Uses torch-fidelity's InceptionV3 feature extractor to get 2048-d pool features. Assumes arr is [N,H,W,C] or [N,C,H,W], uint8 (0..255) or flo
src/eval/fid.py:31