hendrycks / fooling

Code for the Adversarial Image Detectors and a Saliency Map

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

some puzzle about the data provided

Hskye opened this issue · comments

commented

u.npy and s.npy are provided directly without code? I have some question about these data, I use np.linalg.svd to get s.npy from cifar data, and get the last ones is n*e-6, but ./tinyimagenet/s.npy provided directly are all over e-2. Can you teach me how to get it, thank you very much

This site gives a tutorial on computing the Principal Components for CIFAR-10. It's possible the size eigenvalues differ between datasets. Computing the Principal Components on Tiny ImageNet can be done in the same was as with CIFAR, but one needs a computer with lots of RAM and computing the Principal Components takes around an hour.

commented

thank you very much