612ba38ce363ff97b3c89cf3e2096592e2cd4180,aletheia/attacks.py,,imgdiff_pixels,#,241
Before Change
print(np.array(pairs, dtype=("i4,i4")).reshape(I1[:,:,0].shape))
print("Channel 2:")
pairs = list(zip(I1[:,:,1].ravel(), D2.ravel()))
print(np.array(pairs, dtype=("i4,i4")).reshape(I1[:,:,1].shape))
print("Channel 3:")
pairs = list(zip(I1[:,:,2].ravel(), D3.ravel()))
print(np.array(pairs, dtype=("i4,i4")).reshape(I1[:,:,2].shape))
After Change
print(pairs_diff)
print("Channel 2:")
pairs = list(zip(I1[:,:,1].ravel(), D2.ravel()))
pairs_diff = [p for p in pairs if p[1]!=0]
//print(np.array(pairs, dtype=("i4,i4")).reshape(I1[:,:,1].shape))
print(pairs_diff)
print("Channel 3:")
pairs = list(zip(I1[:,:,2].ravel(), D3.ravel()))
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: daniellerch/aletheia
Commit Name: 612ba38ce363ff97b3c89cf3e2096592e2cd4180
Time: 2019-07-19
Author: dlerch@gmail.com
File Name: aletheia/attacks.py
Class Name:
Method Name: imgdiff_pixels
Project Name: kymatio/kymatio
Commit Name: 60c2e01bfc93bc01da21b79ebe9f222e601e1931
Time: 2020-02-18
Author: janden@flatironinstitute.org
File Name: kymatio/scattering2d/frontend/numpy_frontend.py
Class Name: ScatteringNumPy2D
Method Name: scattering
Project Name: kymatio/kymatio
Commit Name: 60c2e01bfc93bc01da21b79ebe9f222e601e1931
Time: 2020-02-18
Author: janden@flatironinstitute.org
File Name: kymatio/scattering2d/frontend/tensorflow_frontend.py
Class Name: ScatteringTensorFlow2D
Method Name: scattering
Project Name: astroML/astroML
Commit Name: f388923837f92a9de81b97898eadde495353331b
Time: 2018-11-16
Author: bsipocz@gmail.com
File Name: astroML/density_estimation/gauss_mixture.py
Class Name: GaussianMixture1D
Method Name: __init__