This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Adapt HelloWorld to run using the Inference Service (#837)
Closes #696. Changes the HelloWorld model to only use a single channel, as this is the format that the [Inference Service](https://github.com/microsoft/InnerEye-Inference/) expects for its inputs. As many tests require the 2-channel data, this PR also creates a new class, `HelloWorld2Channel`, which inherits from `HelloWorld` but uses 2 channels and can be used for testing. This avoids the pain of having to alter all unit and regression tests that relied on the 2-channel data and model. Both models can be trained on the same data, but now the `HelloWorld` model can be run by the Inference Service.
- Loading branch information
1 parent
8f9d823
commit d902e02
Showing
2 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
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
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