mage icon indicating copy to clipboard operation
mage copied to clipboard

reconstructed images

Open luodi789567890 opened this issue 2 years ago • 3 comments

Does this command mask the images and then generate the reconstructed images? python gen_img_uncond.py --temp 6.0 --num_iter 20 --ckpt /root/autodl-tmp/mage-main/output_dir/checkpoint-80.pth --batch_size 32 --num_images 500 --model mage_vit_base_patch16 --output_dir /root/autodl-tmp/mage-main/output_dir/fid/gen/mage-vitb

luodi789567890 avatar Apr 26 '23 12:04 luodi789567890

This command generates images from scratch, i.e., 100% masking ratio.

LTH14 avatar Apr 26 '23 14:04 LTH14

Regarding codes reconstructing masked images: I'm currently working on another deadline so I haven't released that part of the code. But it should be fairly easy to implement by providing the unmasked tokens and performing the generation process from <100% masking ratio.

LTH14 avatar Apr 26 '23 18:04 LTH14

Hello, could you tell me how to reconstruct an image work with MAGE? I get the output image almost the same as the input image with the released checkpoint? could you help me with that?

cannonli7 avatar Oct 26 '23 11:10 cannonli7