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
258ddfc3
Commit
258ddfc3
authored
Jul 22, 2020
by
Kaushik Shivakumar
Browse files
start fix
parent
f44507ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
research/object_detection/dataset_tools/create_ava_tf_record.py
...ch/object_detection/dataset_tools/create_ava_tf_record.py
+2
-0
No files found.
research/object_detection/dataset_tools/create_ava_tf_record.py
View file @
258ddfc3
...
...
@@ -70,6 +70,7 @@ import tensorflow.compat.v1 as tf
import
cv2
from
object_detection.utils
import
dataset_util
from
object_detection.dataset_tools
import
seq_example_util
POSSIBLE_TIMESTAMPS
=
range
(
902
,
1798
)
ANNOTATION_URL
=
"https://research.google.com/ava/download/ava_v2.2.zip"
...
...
@@ -224,6 +225,7 @@ class Ava(object):
total_confidences
=
[]
total_is_annotated
=
[]
windowed_timestamp
=
start_time
while
windowed_timestamp
<
end_time
:
if
(
media_id
,
windowed_timestamp
)
in
frame_excluded
:
end_time
+=
1
...
...
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