Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SVLT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
ALMF
SVLT
Commits
faa943d9
Commit
faa943d9
authored
1 year ago
by
Christopher Randolph Rhodes
Browse files
Options
Downloads
Patches
Plain Diff
No longer need cleanup script, getting correct results
parent
06f36622
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
extensions/chaeo/examples/transfer_labels_to_ilastik_object_classifier.py
+2
-4
2 additions, 4 deletions
.../examples/transfer_labels_to_ilastik_object_classifier.py
with
2 additions
and
4 deletions
extensions/chaeo/examples/transfer_labels_to_ilastik_object_classifier.py
+
2
−
4
View file @
faa943d9
...
...
@@ -98,7 +98,7 @@ def generate_ilastik_object_classifier(
# delete existing classification weights
if
(
k
:
=
f
'
ObjectExtraction/RegionFeatures/
{
lane
:
04
d
}
'
)
in
h5
.
keys
():
del
h5
[
k
]
if
(
k
:
=
'
ObjectClassification/Classifi
cation
Forests
'
)
in
h5
.
keys
():
if
(
k
:
=
'
ObjectClassification/Classifi
er
Forests
'
)
in
h5
.
keys
():
del
h5
[
k
]
return
new_ilp
...
...
@@ -156,9 +156,7 @@ if __name__ == '__main__':
label_names
,
)
from
extensions.chaeo.examples.test_modify_object_classifier
import
modify_ilastik_object_classifier
auto_ilp
=
modify_ilastik_object_classifier
(
new_ilp
)
# auto_ilp = new_ilp
auto_ilp
=
new_ilp
def
infer_and_compare
(
ilp
,
prefix
,
raw
,
mask
,
labels
):
mod
=
PatchStackObjectClassifier
({
'
project_file
'
:
root
/
ilp
})
...
...
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