-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BraTS integration with MLCube [WIP] #39
Open
davidjurado
wants to merge
29
commits into
mlcommons:master
Choose a base branch
from
davidjurado:feature/brats
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅ |
bitfort
requested changes
Feb 4, 2022
brats/src/amazing_logic.py
Outdated
config = dotenv_values(".env") | ||
APPLICATION_NAME = config["APPLICATION_NAME"] | ||
APPLICATION_VERSION = config["APPLICATION_VERSION"] | ||
INPUT_FOLDER = config["INPUT_FOLDER"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Read INPUT_FOLDER and OUTPUT_FOLDER from --data_dir and --results_dir only; and taken them out of the .env file
davidjurado
force-pushed
the
feature/brats
branch
from
February 25, 2022 17:01
900938f
to
6cfe2dc
Compare
davidjurado
force-pushed
the
feature/brats
branch
from
March 18, 2022 15:47
bf57af6
to
5de23b9
Compare
davidjurado
force-pushed
the
feature/brats
branch
from
March 18, 2022 20:09
5e42e47
to
9ecfc19
Compare
davidjurado
force-pushed
the
feature/brats
branch
2 times, most recently
from
March 25, 2022 01:47
5a00ec2
to
1d0c8f0
Compare
davidjurado
changed the title
BraTS integration with MLCube
BraTS integration with MLCube [WIP]
Mar 25, 2022
davidjurado
force-pushed
the
feature/brats
branch
from
March 25, 2022 20:26
1d0c8f0
to
ab20d9b
Compare
davidjurado
force-pushed
the
feature/brats
branch
from
March 25, 2022 23:26
d1338b8
to
128c691
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
MedPerf - MLCube - BraTs Challange Integration
Project setup
MedPerf API Server
To run locally, clone this repo:
Go to the
server
foldercd server
Install all dependencies
Create .env file with your environment settings
Sample .env.example is added to root. Rename
.env.example
to.env
and modify with your env vars.Create tables and existing models
Start the server
API Server is running at
http://127.0.0.1:8000/
by default. You can view and experiment Medperf API athttp://127.0.0.1:8000/swagger
Medperf CLI
The Medperf CLI is a command-line-interface that provides tools for preparing datasets and executing benchmarks on such datasets.
To install, clone this repo (If you already did skip this step):
Go to the
cli
foldercd cli
Install using pip
pip install -e .
How to run
The MedPerf CLI provides the following commands:
login
: authenticates the CLI with the medperf backend serverdataset ls
: Lists all registered datasets by the userdataset create
: Prepares a raw dataset for a specific benchmarkdataset submit
: Submits a prepared local dataset to the platform.dataset associate
: Associates a prepared dataset with a specific benchmarkrun
: Alias forresult create
. Runs a specific model from a benchmark with a specified prepared datasetresult ls
: Displays all results created by the userresult create
: Runs a specific model from a benchmark with a specified prepared datasetresult submit
: Submits already obtained results to the platformmlcube ls
: Lists all mlcubes created by the user. Lists all mlcubes if--all
is passedmlcube submit
: Submits a new mlcube to the platformmlcube associate
: Associates an MLCube to a benchmarkThe CLI runs MLCubes behind the scene. This cubes require a container engine like docker, and so that engine must be running before running commands like
prepare
andexecute