Skip to content

Reproducing MLM L 1-16 FID #4

Description

@Aphoh

Hello! Thanks for the thorough paper!

I'm trying to reproduce your results for MLM L, which state an FID of 3.7, but I'm getting an FID of around 18...

Here's my modification to the sample_fid.sh script:

TORCH_DISTRIBUTED_DEBUG=INFO torchrun --nnodes=1 --nproc_per_node=4 sample_fid.py \
 --model GPT-L --modeling mlm --sample_dir images_fid_mlm \
 --ckpt /model_home/mlmL-1-16.pth \
 --dataset custom --codebook_size 16 --norm_first --num-classes 1000 \
 --code-dim 16 --token-each 1 --pos_type rope2d --cfg-scale 3.0 --cfg_schedule linear \
 --deterministic --gen_iter_num 256 --temperature 9.0 \
 --num_images 32000 --per_proc_batch_size 16 --global_seed 64

And then using the npz from here to compare I get an FID of 18.66.

I had to fix a few small bugs with some missing arguments being passed into the MLM model, but other than that everything was quite straightforward. Am I missing something? The generated images look not too bad but not great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions