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
9497f59c
Commit
9497f59c
authored
Nov 18, 2021
by
Vishnu Banna
Browse files
kmeans
parent
e0b33491
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
official/vision/beta/projects/yolo/ops/kmeans_test.py
official/vision/beta/projects/yolo/ops/kmeans_test.py
+2
-2
No files found.
official/vision/beta/projects/yolo/ops/kmeans_test.py
View file @
9497f59c
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
"""
box_ops
tests."""
"""
kmeans_test
tests."""
from
absl.testing
import
parameterized
from
absl.testing
import
parameterized
import
numpy
as
np
import
numpy
as
np
import
tensorflow
as
tf
import
tensorflow
as
tf
...
@@ -20,7 +20,7 @@ import tensorflow as tf
...
@@ -20,7 +20,7 @@ import tensorflow as tf
from
official.vision.beta.projects.yolo.ops
import
kmeans_anchors
from
official.vision.beta.projects.yolo.ops
import
kmeans_anchors
class
InputUtil
sTest
(
parameterized
.
TestCase
,
tf
.
test
.
TestCase
):
class
KMean
sTest
(
parameterized
.
TestCase
,
tf
.
test
.
TestCase
):
@
parameterized
.
parameters
((
9
,
3
,
100
))
@
parameterized
.
parameters
((
9
,
3
,
100
))
def
test_kmeans
(
self
,
k
,
anchors_per_scale
,
samples
):
def
test_kmeans
(
self
,
k
,
anchors_per_scale
,
samples
):
...
...
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