Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MVCM
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
Container 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
Paolo Veglio
MVCM
Commits
11630116
Commit
11630116
authored
2 years ago
by
Paolo Veglio
Browse files
Options
Downloads
Patches
Plain Diff
starting to clean up
parent
4a568887
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
temp.py
+0
-41
0 additions, 41 deletions
temp.py
with
0 additions
and
41 deletions
temp.py
deleted
100644 → 0
+
0
−
41
View file @
4a568887
class
Tests
:
def
__init__
(
self
,
scene_type
):
self
.
scene
=
scene_type
def
select_thresholds
(
self
,
thresholds
):
return
thresholds
[
self
.
scene
]
def
select_pixels
(
self
):
idx
=
[
0
,
1
,
2
,
3
]
return
idx
def
run_tests
(
self
):
pass
def
all_tests
():
T1
()
T2
()
T3
()
T4
()
def
T1
(
scene
):
if
scene
not
in
[
'
1
'
,
'
2
'
,
'
3
'
]:
return
0
else
:
confidence
=
0
return
confidence
# Ocean Day
# T1, T2, T4
# Ocean Night
# T1, T3, T4
# Example usage:
#
# ocean_day = Tests('Ocean_Day')
# thresh = ocean_day.select_thresholds(thresholds)
#
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