-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaberration_test_output.txt
More file actions
134 lines (121 loc) · 6.72 KB
/
Copy pathaberration_test_output.txt
File metadata and controls
134 lines (121 loc) · 6.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
python : INFO:ml.protectio
n.aberration_engine:Aberra
tionEngine initialized on
cpu
At line:1 char:1
+ python
test_aberration_engine.py
> aberration_test_output.t
xt 2>&1; t ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~
+ CategoryInfo
: NotSpecified: (I
NFO:ml.protect...tial
ized on cpu:String) [
], RemoteException
+ FullyQualifiedError
Id : NativeCommandErr
or
INFO:ml.protection.aberrat
ion_engine:AberrationEngin
e: protecting 1x3x64x64
image
INFO:ml.protection.aberrat
ion_engine: [F1]
Applying HVS-Weighted
Anisotropic Frequency
Perturbation...
INFO:ml.protection.aberrat
ion_engine: \u2192
freq energy: 0.003638
INFO:ml.protection.aberrat
ion_engine: [F2]
Applying Orthogonal
Null-Space Projection...
INFO:ml.protection.aberrat
ion_engine: \u2192
disruption scores:
{'arcface_cos_sim':
0.9999982118606567,
'arcface_disruption':
1.7881393432617188e-06,
'dinov2_cos_sim':
0.9999390840530396,
'dinov2_disruption':
6.091594696044922e-05,
'clip_cos_sim':
0.9999955296516418,
'clip_disruption':
4.470348358154297e-06}
INFO:ml.protection.aberrat
ion_engine: [F3]
Applying Jacobian
Singular-Value
Subversion...
INFO:ml.protection.aberrat
ion_engine: \u2192
min_\u03c3: 0.232371,
max_\u03c3: 0.246618,
subverted: 16
INFO:ml.protection.aberrat
ion_engine: Fusion
weights: freq=0.384,
sem=0.384, lat=0.233
INFO:ml.protection.aberrat
ion_engine: [F4]
Applying Psycho-Visual
Adaptive Step Decay
gate...
INFO:ml.protection.aberrat
ion_engine: \u2192
SSIM: 0.9682, LPIPS:
0.019140, gate: 0.8931
INFO:ml.protection.aberrat
ion_engine: Final
perturbation:
L\u221e=0.1090,
L2=0.059885
============================================================
ABERRATION ENGINE - End-to-End Test
============================================================
Test image shape: torch.Size([1, 3, 64, 64])
Engine created on: cpu
Fusion weights: [0.3836517333984375, 0.3836517333984375, 0.2326965481042862]
--- Running full protection pipeline ---
Protected image shape: torch.Size([1, 3, 64, 64])
--- Quality Metrics ---
lpips: 0.019140176475048065
ssim: 0.9681787490844727
quality_Q: 0.024212606251239777
gate_value: 0.8930538892745972
margin: 0.09578739106655121
--- Fusion Weights ---
[0.3836517333984375, 0.3836517333984375, 0.2326965481042862]
--- Frequency Info ---
entropy_map: shape=torch.Size([1, 1, 64, 64])
freq_energy: 0.0036375734489411116
--- Semantic Disruption ---
arcface_cos_sim: 0.9999982118606567
arcface_disruption: 1.7881393432617188e-06
dinov2_cos_sim: 0.9999390840530396
dinov2_disruption: 6.091594696044922e-05
clip_cos_sim: 0.9999955296516418
clip_disruption: 4.470348358154297e-06
--- Latent JSVS Info ---
min_singular_value: 0.2323707789182663
max_singular_value: 0.2466176301240921
num_subverted: 16
latent_pert_norm: 0.10000000149011612
--- Perturbation Stats ---
linf: 0.10901430249214172
l2: 0.0598851777613163
--- Sanity Checks ---
Max pixel change: 0.109014
Mean pixel change: 0.051967
Output range: [0.1020, 0.8988]
ALL SANITY CHECKS PASSED!
============================================================
TEST COMPLETE - Aberration Engine works!
============================================================