Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
fd50cc1b
Commit
fd50cc1b
authored
Jun 15, 2021
by
Vishnu Banna
Browse files
new lines
parent
3c62075e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
0 deletions
+4
-0
official/vision/beta/projects/yolo/modeling/backbones/darknet_test.py
...ion/beta/projects/yolo/modeling/backbones/darknet_test.py
+1
-0
official/vision/beta/projects/yolo/modeling/decoders/yolo_decoder_test.py
...beta/projects/yolo/modeling/decoders/yolo_decoder_test.py
+1
-0
official/vision/beta/projects/yolo/modeling/heads/yolo_head_test.py
...ision/beta/projects/yolo/modeling/heads/yolo_head_test.py
+1
-0
official/vision/beta/projects/yolo/modeling/layers/nn_blocks_test.py
...sion/beta/projects/yolo/modeling/layers/nn_blocks_test.py
+1
-0
No files found.
official/vision/beta/projects/yolo/modeling/backbones/darknet_test.py
View file @
fd50cc1b
...
@@ -125,5 +125,6 @@ class DarknetTest(parameterized.TestCase, tf.test.TestCase):
...
@@ -125,5 +125,6 @@ class DarknetTest(parameterized.TestCase, tf.test.TestCase):
# If the serialization was successful, the new config should match the old.
# If the serialization was successful, the new config should match the old.
self
.
assertAllEqual
(
network
.
get_config
(),
new_network
.
get_config
())
self
.
assertAllEqual
(
network
.
get_config
(),
new_network
.
get_config
())
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
tf
.
test
.
main
()
tf
.
test
.
main
()
official/vision/beta/projects/yolo/modeling/decoders/yolo_decoder_test.py
View file @
fd50cc1b
...
@@ -149,5 +149,6 @@ class YoloDecoderTest(parameterized.TestCase, tf.test.TestCase):
...
@@ -149,5 +149,6 @@ class YoloDecoderTest(parameterized.TestCase, tf.test.TestCase):
decoder_from_config
=
decoders
.
YoloDecoder
.
from_config
(
config
)
decoder_from_config
=
decoders
.
YoloDecoder
.
from_config
(
config
)
self
.
assertAllEqual
(
decoder
.
get_config
(),
decoder_from_config
.
get_config
())
self
.
assertAllEqual
(
decoder
.
get_config
(),
decoder_from_config
.
get_config
())
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
tf
.
test
.
main
()
tf
.
test
.
main
()
official/vision/beta/projects/yolo/modeling/heads/yolo_head_test.py
View file @
fd50cc1b
...
@@ -69,5 +69,6 @@ class YoloDecoderTest(parameterized.TestCase, tf.test.TestCase):
...
@@ -69,5 +69,6 @@ class YoloDecoderTest(parameterized.TestCase, tf.test.TestCase):
head_from_config
=
heads
.
YoloHead
.
from_config
(
configs
)
head_from_config
=
heads
.
YoloHead
.
from_config
(
configs
)
self
.
assertAllEqual
(
head
.
get_config
(),
head_from_config
.
get_config
())
self
.
assertAllEqual
(
head
.
get_config
(),
head_from_config
.
get_config
())
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
tf
.
test
.
main
()
tf
.
test
.
main
()
official/vision/beta/projects/yolo/modeling/layers/nn_blocks_test.py
View file @
fd50cc1b
...
@@ -383,5 +383,6 @@ class DarkRouteProcessTest(tf.test.TestCase, parameterized.TestCase):
...
@@ -383,5 +383,6 @@ class DarkRouteProcessTest(tf.test.TestCase, parameterized.TestCase):
self
.
assertNotIn
(
None
,
grad
)
self
.
assertNotIn
(
None
,
grad
)
return
return
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
tf
.
test
.
main
()
tf
.
test
.
main
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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