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
fb10543d
Commit
fb10543d
authored
Nov 13, 2021
by
Vishnu Banna
Browse files
kmeans
parent
dff8897d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
official/vision/beta/projects/yolo/configs/yolo.py
official/vision/beta/projects/yolo/configs/yolo.py
+0
-1
official/vision/beta/projects/yolo/tasks/yolo.py
official/vision/beta/projects/yolo/tasks/yolo.py
+1
-4
No files found.
official/vision/beta/projects/yolo/configs/yolo.py
View file @
fb10543d
...
@@ -189,7 +189,6 @@ class AnchorBoxes(hyperparams.Config):
...
@@ -189,7 +189,6 @@ class AnchorBoxes(hyperparams.Config):
generate_anchors
:
bool
=
False
generate_anchors
:
bool
=
False
scaling_mode
:
str
=
"sqrt_log"
scaling_mode
:
str
=
"sqrt_log"
box_generation_mode
:
str
=
"per_level"
box_generation_mode
:
str
=
"per_level"
use_validation_data
:
bool
=
True
def
get
(
self
,
min_level
,
max_level
):
def
get
(
self
,
min_level
,
max_level
):
"""Distribute them in order to each level.
"""Distribute them in order to each level.
...
...
official/vision/beta/projects/yolo/tasks/yolo.py
View file @
fb10543d
...
@@ -74,9 +74,6 @@ class YoloTask(base_task.Task):
...
@@ -74,9 +74,6 @@ class YoloTask(base_task.Task):
anchor_cfg
=
self
.
task_config
.
model
.
anchor_boxes
anchor_cfg
=
self
.
task_config
.
model
.
anchor_boxes
backbone
=
self
.
task_config
.
model
.
backbone
.
get
()
backbone
=
self
.
task_config
.
model
.
backbone
.
get
()
if
anchor_cfg
.
use_validation_data
:
dataset
=
self
.
task_config
.
validation_data
else
:
dataset
=
self
.
task_config
.
train_data
dataset
=
self
.
task_config
.
train_data
decoder
=
self
.
_get_data_decoder
(
dataset
)
decoder
=
self
.
_get_data_decoder
(
dataset
)
...
...
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