Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mednet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
medai
software
mednet
Commits
aa7d5a67
"README.md" did not exist on "d0c2378d522f767380febb9149fd665dcfe0725d"
Commit
aa7d5a67
authored
1 year ago
by
Daniel CARRON
Committed by
André Anjos
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
[test] Update paths
parent
0e198fc4
No related branches found
No related tags found
1 merge request
!31
Experiment and model upload to GitLab via MLflow interface
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/mednet/scripts/experiment.py
+1
-1
1 addition, 1 deletion
src/mednet/scripts/experiment.py
tests/test_cli.py
+7
-6
7 additions, 6 deletions
tests/test_cli.py
with
8 additions
and
7 deletions
src/mednet/scripts/experiment.py
+
1
−
1
View file @
aa7d5a67
...
@@ -141,7 +141,7 @@ def experiment(
...
@@ -141,7 +141,7 @@ def experiment(
ctx
.
invoke
(
ctx
.
invoke
(
evaluate
,
evaluate
,
predictions
=
predictions_output
,
predictions
=
predictions_output
,
output
=
output_folder
,
output
_folder
=
output_folder
,
threshold
=
"
validation
"
,
threshold
=
"
validation
"
,
)
)
...
...
This diff is collapsed.
Click to expand it.
tests/test_cli.py
+
7
−
6
View file @
aa7d5a67
...
@@ -404,23 +404,24 @@ def test_evaluate_pasa_montgomery(temporary_basedir):
...
@@ -404,23 +404,24 @@ def test_evaluate_pasa_montgomery(temporary_basedir):
with
stdout_logging
()
as
buf
:
with
stdout_logging
()
as
buf
:
prediction_path
=
temporary_basedir
/
"
predictions.json
"
prediction_path
=
temporary_basedir
/
"
predictions.json
"
output_path
=
temporary_basedir
/
"
evaluation.json
"
evaluation_filename
=
"
evaluation.json
"
evaluation_file
=
temporary_basedir
/
evaluation_filename
result
=
runner
.
invoke
(
result
=
runner
.
invoke
(
evaluate
,
evaluate
,
[
[
"
-vv
"
,
"
-vv
"
,
"
montgomery
"
,
"
montgomery
"
,
f
"
--predictions=
{
str
(
prediction_path
)
}
"
,
f
"
--predictions=
{
str
(
prediction_path
)
}
"
,
f
"
--output
=
{
str
(
output_path
)
}
"
,
f
"
--output
-folder=
{
str
(
temporary_basedir
)
}
"
,
"
--threshold=test
"
,
"
--threshold=test
"
,
],
],
)
)
_assert_exit_0
(
result
)
_assert_exit_0
(
result
)
assert
output_path
.
exists
()
assert
evaluation_file
.
exists
()
assert
output_path
.
with_suffix
(
"
.meta.json
"
).
exists
()
assert
evaluation_file
.
with_suffix
(
"
.meta.json
"
).
exists
()
assert
output_path
.
with_suffix
(
"
.rst
"
).
exists
()
assert
evaluation_file
.
with_suffix
(
"
.rst
"
).
exists
()
assert
output_path
.
with_suffix
(
"
.pdf
"
).
exists
()
assert
evaluation_file
.
with_suffix
(
"
.pdf
"
).
exists
()
keywords
=
{
keywords
=
{
r
"
^Setting --threshold=.*$
"
:
1
,
r
"
^Setting --threshold=.*$
"
:
1
,
...
...
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