#!/usr/bin/env bash set -euo pipefail CKPT=${1:?usage: $0 /path/to/model.th} DATA_ROOT="${DATA_ROOT:-./datasets/celeba-hq-256}" python evaluate.py \ --hps celebahq256 \ --data_root "$DATA_ROOT" \ --restore_path "$CKPT" \ --restore_ema_path "${CKPT%.th}-ema.th" \ --use_ema True \ --use_se True \ --residual_type convex \ --latent_dim 512 \ --dec_blocks '1x1,4m1,4x2,8m4,8x4,16m8,16x5,32m16,32x5,64m32,64x5,128m64,128x4,256m128,256x1' \ --custom_width_str '256:64,128:128,64:512,32:768,16:768,8:768,4:768,1:768' \ --use_rtm True \ --H_cycles 4 --L_cycles 2 --refinement_steps 4 \ --num_tokens 4 \ --rtm_hidden_size 256 \ --num_fid_samples 30000 \ --num_pr_samples 30000