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
f08513d4
Commit
f08513d4
authored
Jan 19, 2022
by
A. Unique TensorFlower
Browse files
Internal change
PiperOrigin-RevId: 422928888
parent
a8bccfa4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
official/vision/beta/projects/centernet/configs/experiments/coco-centernet-hourglass-tpu.yaml
...net/configs/experiments/coco-centernet-hourglass-tpu.yaml
+2
-2
official/vision/beta/projects/centernet/modeling/heads/centernet_head.py
.../beta/projects/centernet/modeling/heads/centernet_head.py
+0
-1
No files found.
official/vision/beta/projects/centernet/configs/experiments/coco-centernet-hourglass-tpu.yaml
View file @
f08513d4
...
@@ -59,11 +59,11 @@ task:
...
@@ -59,11 +59,11 @@ task:
input_path
:
'
coco/val*'
input_path
:
'
coco/val*'
drop_remainder
:
false
drop_remainder
:
false
dtype
:
'
bfloat16'
dtype
:
'
bfloat16'
global_batch_size
:
1
6
global_batch_size
:
6
4
is_training
:
false
is_training
:
false
trainer
:
trainer
:
train_steps
:
140000
train_steps
:
140000
validation_steps
:
78
# 5000 /
1
6
validation_steps
:
78
# 5000 / 6
4
steps_per_loop
:
924
# 118287 / 128
steps_per_loop
:
924
# 118287 / 128
validation_interval
:
924
validation_interval
:
924
summary_interval
:
924
summary_interval
:
924
...
...
official/vision/beta/projects/centernet/modeling/heads/centernet_head.py
View file @
f08513d4
...
@@ -61,7 +61,6 @@ class CenterNetHead(tf.keras.Model):
...
@@ -61,7 +61,6 @@ class CenterNetHead(tf.keras.Model):
self
.
_heatmap_bias
=
heatmap_bias
self
.
_heatmap_bias
=
heatmap_bias
self
.
_num_inputs
=
len
(
input_levels
)
self
.
_num_inputs
=
len
(
input_levels
)
input_levels
=
sorted
(
self
.
_input_specs
.
keys
())
inputs
=
{
level
:
tf
.
keras
.
layers
.
Input
(
shape
=
self
.
_input_specs
[
level
][
1
:])
inputs
=
{
level
:
tf
.
keras
.
layers
.
Input
(
shape
=
self
.
_input_specs
[
level
][
1
:])
for
level
in
input_levels
}
for
level
in
input_levels
}
outputs
=
{}
outputs
=
{}
...
...
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