DIRE icon indicating copy to clipboard operation
DIRE copied to clipboard

[ICCV 2023] Official implementation of the paper: "DIRE for Diffusion-Generated Image Detection"

Results 22 DIRE issues
Sort by recently updated
recently updated
newest added

my computh_dir.sh is ``` ## set MODEL_PATH, num_samples, has_subfolder, images_dir, recons_dir, dire_dir export CUDA_VISIBLE_DEVICES=0 export NCCL_P2P_DISABLE=1 MODEL_PATH="../models/256x256_diffusion_uncond.pt" # "models/lsun_bedroom.pt, models/256x256_diffusion_uncond.pt" SAMPLE_FLAGS="--batch_size 1 --num_samples 4 --timestep_respacing ddim20 --use_ddim True" SAVE_FLAGS="--images_dir ../data/single_test...

Hello, The onedrive link of the dataset does not seem to have access permission, Can you update the link?Thank you very much

I've observed that the images in the "real" folder are in JPG format, while the generated images are in PNG format. I wrote the following code to convert the images...

![image](https://github.com/ZhendongWang6/DIRE/assets/16109867/bedcc67b-990c-416c-a4cb-02aa3e569bbe) give the samples from test result , which predict score are all 0.0000

I am reproducing this paper, but I encountered some problems during testing. I tested using the following steps, but found some weird things. Is there anything wrong with my steps?...

cant access the link to pretrained model It says the link has been removed

I run `./DIRE/guided-diffusion/compute_dire.py` using `256x256_diffusion_uncond.pt` on my dataset and get the following images (source, recon and dire): ![MY_0](https://github.com/ZhendongWang6/DIRE/assets/57392333/c0274a57-52ba-4ac5-aba4-b6da81ff390d) ![MY_0_recon](https://github.com/ZhendongWang6/DIRE/assets/57392333/7df04cc1-71de-4e8a-bd2c-b5878aba83ba) ![MY_0_dire](https://github.com/ZhendongWang6/DIRE/assets/57392333/e4b6923c-354d-4a58-9223-c218eb2c5297) and other results are all similar. As we can see,...

Currently, the setup is divided into 2 steps. Step 1: Copute_dire.sh to generate an DIRE image from Input image(Real or Fake) (Distributed computing on N GPUS) Step 2: demo.py to...

The zip folder of real test dire images from lsun_bedroom seems to be corrupted, as I was unable to download the file and got this error. ![image](https://github.com/ZhendongWang6/DIRE/assets/56708863/8b2bcb31-177f-4d91-88dd-9f618e701431) It seems like...