Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Amazon Prime Air
Airborne Object Detection - Starter Kit
Commits
927c624a
Commit
927c624a
authored
Jul 16, 2021
by
Siddhartha Laghuvarapu
Browse files
Sort test image frames to preserve order of frames
parent
1fb66bcc
Changes
1
Hide whitespace changes
Inline
Side-by-side
evaluator/airborne_detection.py
View file @
927c624a
...
...
@@ -85,7 +85,7 @@ class AirbornePredictor:
def
get_all_frame_images
(
self
,
flight_id
):
frames
=
[]
flight_folder
=
join
(
self
.
test_data_path
,
flight_id
)
for
frame
in
listdir
(
flight_folder
):
for
frame
in
sorted
(
listdir
(
flight_folder
)
)
:
if
isfile
(
join
(
flight_folder
,
frame
)):
frames
.
append
(
frame
)
return
frames
...
...
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