DIRE
DIRE copied to clipboard
Cannot get the results in paper
I did test as the following steps, but cannot get the same results in paper. Is there anything wrong in my steps?
My steps
- from the OneDrive location
dire/test/lsun_bedroom/lsun_bedroom
, I downloaded the real dire imagesreal.tar.gz
and unpacked them intodata/test/lsun_adm_data/0_real
. This set has 1000 JPG images. - from the OneDrive location
dire/test/lsun_bedroom/lsun_bedroom
, I downloaded the fake dire imagesadm.tar.gz
and unpacked them intodata/test/lsun_adm_data/1_fake
. This set has 1000 PNG images - I downloaded the model
checkpoints/lsun_adm.pth
from OneDrive and put it in the folderdata/exp/test_model/ckpt
- I ran test.py by the following command:
python test.py --gpus 0 --ckpt lsun_adm.pth --exp_name test_model datasets_test lsun_adm_data
. This command pointed to the the downloaded model and lsun_adm dataset.
My results
Here is the result I got by the command:
'test_model:lsun_adm' model testing on...
lsun_adm_data:
ACC: 0.89900
AP: 0.99890
R_ACC: 0.79800
F_ACC: 1.00000
These results are different from those in paper. Is there anything wrong in my steps?
My configurations
CPU : Intel(R) Xeon(R) Silver 4210R CPU @ 2.40GHz GPU : NVIDIA Corporation TU104GL [Tesla T4] System : 20.04.1-Ubuntu SMP python : 3.8.18 torch : 2.0.0 cuda : 11.7