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
16927ba9
Commit
16927ba9
authored
9 months ago
by
Christopher Randolph Rhodes
Browse files
Options
Downloads
Patches
Plain Diff
Testing inference time, probably not a great idea...
parent
77aca6fd
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
model_server/extensions/ilastik/tests/test_ilastik.py
+1
-1
1 addition, 1 deletion
model_server/extensions/ilastik/tests/test_ilastik.py
tests/test_api.py
+1
-1
1 addition, 1 deletion
tests/test_api.py
with
2 additions
and
2 deletions
model_server/extensions/ilastik/tests/test_ilastik.py
+
1
−
1
View file @
16927ba9
...
@@ -195,7 +195,7 @@ class TestIlastikPixelClassification(unittest.TestCase):
...
@@ -195,7 +195,7 @@ class TestIlastikPixelClassification(unittest.TestCase):
channel
=
0
,
channel
=
0
,
)
)
self
.
assertTrue
(
result
.
success
)
self
.
assertTrue
(
result
.
success
)
self
.
assertGreater
(
result
.
timer_results
[
'
inference
'
],
1.0
)
self
.
assertGreater
(
result
.
timer_results
[
'
inference
'
],
0.1
)
class
TestIlastikOverApi
(
TestServerBaseClass
):
class
TestIlastikOverApi
(
TestServerBaseClass
):
...
...
This diff is collapsed.
Click to expand it.
tests/test_api.py
+
1
−
1
View file @
16927ba9
...
@@ -15,7 +15,7 @@ class TestServerBaseClass(unittest.TestCase):
...
@@ -15,7 +15,7 @@ class TestServerBaseClass(unittest.TestCase):
def
setUp
(
self
)
->
None
:
def
setUp
(
self
)
->
None
:
import
uvicorn
import
uvicorn
host
=
'
127.0.0.1
'
host
=
'
127.0.0.1
'
port
=
5001
# TODO: defer to run_server script and conf file
port
=
5001
self
.
server_process
=
Process
(
self
.
server_process
=
Process
(
target
=
uvicorn
.
run
,
target
=
uvicorn
.
run
,
...
...
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