Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
MPAI-NNW
ReferenceSoftwareV1
Commits
69590f42
Commit
69590f42
authored
May 06, 2024
by
Carl De Sousa Trias
Browse files
Some updates for Reference Software 1.2
parent
0599c34c
Changes
30
Hide whitespace changes
Inline
Side-by-side
adi/ILSVRC2017_test_00004283.JPEG
→
Resources/
adi/ILSVRC2017_test_00004283.JPEG
View file @
69590f42
File moved
adi/ILSVRC2017_test_00004885.JPEG
→
Resources/
adi/ILSVRC2017_test_00004885.JPEG
View file @
69590f42
File moved
adi/ILSVRC2017_test_00004903.JPEG
→
Resources/
adi/ILSVRC2017_test_00004903.JPEG
View file @
69590f42
File moved
adi/ILSVRC2017_test_00004929.JPEG
→
Resources/
adi/ILSVRC2017_test_00004929.JPEG
View file @
69590f42
File moved
adi/ILSVRC2017_test_00005107.JPEG
→
Resources/
adi/ILSVRC2017_test_00005107.JPEG
View file @
69590f42
File moved
adi/ILSVRC2017_test_00005403.JPEG
→
Resources/
adi/ILSVRC2017_test_00005403.JPEG
View file @
69590f42
File moved
adi/ILSVRC2017_test_00005489.JPEG
→
Resources/
adi/ILSVRC2017_test_00005489.JPEG
View file @
69590f42
File moved
vgg16_Uchi_watermarking_dict.npy
→
Resources/
vgg16_Uchi_watermarking_dict.npy
View file @
69590f42
File moved
vgg16_Uchi_weights
→
Resources/
vgg16_Uchi_weights
View file @
69590f42
File moved
Robustness.py
View file @
69590f42
...
@@ -44,8 +44,8 @@ if __name__ == '__main__':
...
@@ -44,8 +44,8 @@ if __name__ == '__main__':
model
.
classifier
=
nn
.
Linear
(
25088
,
10
)
model
.
classifier
=
nn
.
Linear
(
25088
,
10
)
model
.
to
(
device
)
model
.
to
(
device
)
# watermarking section (change here to test another method) #######################################
# watermarking section (change here to test another method) #######################################
tools
=
Ad
i_tools
()
tools
=
Uch
i_tools
()
reload
=
'vgg16_
Ad
i'
reload
=
'
Resources/
vgg16_
Uch
i'
watermarking_dict
=
np
.
load
(
reload
+
'_watermarking_dict.npy'
,
allow_pickle
=
True
).
item
()
watermarking_dict
=
np
.
load
(
reload
+
'_watermarking_dict.npy'
,
allow_pickle
=
True
).
item
()
# watermarking section (END change here to test another method) ###################################
# watermarking section (END change here to test another method) ###################################
name
=
'_quantization'
name
=
'_quantization'
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment