Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Airborne Object Detection - Starter Kit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vivo_advan
Airborne Object Detection - Starter Kit
Commits
52a54c7b
Commit
52a54c7b
authored
3 years ago
by
mohanty
Browse files
Options
Downloads
Patches
Plain Diff
Update airborne_detection.py
parent
baabe629
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
evaluator/airborne_detection.py
+5
-3
5 additions, 3 deletions
evaluator/airborne_detection.py
with
5 additions
and
3 deletions
evaluator/airborne_detection.py
+
5
−
3
View file @
52a54c7b
...
...
@@ -106,14 +106,15 @@ class AirbornePredictor:
def
inference_setup
(
self
):
"""
You can do any preprocessing required for your codebase here like loading up models into memory, etc.
You can do any preprocessing required for your codebase here :
like loading your models into memory, etc.
"""
raise
NotImplementedError
def
inference
(
self
,
flight_id
,
img_name
):
"""
This function will be called for all the flight
s one by one
during the evaluation.
This function will be called for all the flight
frames sequentially
during the evaluation.
NOTE: In case you want to load your model, please do so in `inference_setup` function.
"""
raise
NotImplementedError
...
...
@@ -135,7 +136,8 @@ class AirbornePredictor:
def
save_results
(
self
,
flight_id
=
None
):
"""
Utility function: save results in nested direcotry based on flight_id
This helps in giving continuous feedback in terms of approx scores and so on.
This helps in giving continuous feedback based on of the approximate
scores.
"""
if
flight_id
is
None
:
submission
=
self
.
results
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment