Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
python
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
Tom Rink
python
Commits
018bf408
Commit
018bf408
authored
1 year ago
by
tomrink
Browse files
Options
Downloads
Patches
Plain Diff
snapshot...
parent
ad7780a6
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
modules/util/infer_cloud_fraction.py
+1
-2
1 addition, 2 deletions
modules/util/infer_cloud_fraction.py
with
1 addition
and
2 deletions
modules/util/infer_cloud_fraction.py
+
1
−
2
View file @
018bf408
...
...
@@ -4,10 +4,9 @@ import os
from
deeplearning.cloud_fraction_fcn_abi
import
run_evaluate_static
,
run_evaluate_static_full_disk
tf_model_name
=
model_path
+
'
tf_model_cld_frac_abi_v1
'
+
os
.
sep
output_dir
=
'
/home/rink
'
+
os
.
sep
def
infer_cloud_fraction
(
clvrx_dir
,
model_path
=
model_path
+
tf_model_name
):
def
infer_cloud_fraction
(
clvrx_dir
,
output_dir
,
model_path
=
model_path
+
tf_model_name
):
clvrx_ds
=
CLAVRx
(
clvrx_dir
)
for
fname
in
clvrx_ds
:
dto
=
clvrx_ds
.
get_datetime
(
fname
)
...
...
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