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
36de097e
Commit
36de097e
authored
8 months ago
by
Christopher Randolph Rhodes
Browse files
Options
Downloads
Plain Diff
Merge branch 'staging' into dev_roiset_coco
parents
b257dfe4
2a1db0ad
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
model_server/base/validators.py
+1
-1
1 addition, 1 deletion
model_server/base/validators.py
model_server/extensions/ilastik/workflows.py
+2
-2
2 additions, 2 deletions
model_server/extensions/ilastik/workflows.py
model_server/scripts/run_server.py
+1
-1
1 addition, 1 deletion
model_server/scripts/run_server.py
with
4 additions
and
4 deletions
model_server/base/validators.py
+
1
−
1
View file @
36de097e
...
...
@@ -4,7 +4,7 @@ from .session import session
def
validate_workflow_inputs
(
model_ids
,
inpaths
):
for
mid
in
model_ids
:
if
mid
not
in
session
.
describe_loaded_models
().
keys
():
if
mid
and
mid
not
in
session
.
describe_loaded_models
().
keys
():
raise
HTTPException
(
status_code
=
409
,
detail
=
f
'
Model
{
mid
}
has not been loaded
'
...
...
This diff is collapsed.
Click to expand it.
model_server/extensions/ilastik/workflows.py
+
2
−
2
View file @
36de097e
...
...
@@ -2,7 +2,7 @@
Implementation of image analysis work behind API endpoints, without knowledge of persistent data in server session.
"""
from
pathlib
import
Path
from
typing
import
Dict
from
typing
import
Dict
,
Union
from
pydantic
import
BaseModel
...
...
@@ -12,7 +12,7 @@ from ...base.workflows import Timer
class
WorkflowRunRecord
(
BaseModel
):
pixel_model_id
:
str
object_model_id
:
str
object_model_id
:
Union
[
str
,
None
]
=
None
input_filepath
:
str
pixel_map_filepath
:
str
object_map_filepath
:
str
...
...
This diff is collapsed.
Click to expand it.
model_server/scripts/run_server.py
+
1
−
1
View file @
36de097e
...
...
@@ -6,7 +6,7 @@ from urllib3 import Retry
import
uvicorn
import
webbrowser
from
conf.defaults
import
server_conf
from
..
conf.defaults
import
server_conf
def
parse_args
():
parser
=
argparse
.
ArgumentParser
(
...
...
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