-
Notifications
You must be signed in to change notification settings - Fork 833
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Move new ImageFeaturizer to onnx namespace (#1711)
- Loading branch information
Showing
8 changed files
with
22 additions
and
45 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
18 changes: 0 additions & 18 deletions
18
deep-learning/src/main/scala/com/microsoft/azure/synapse/ml/cntk/ImageFeaturizer.txt
This file was deleted.
Oops, something went wrong.
3 changes: 1 addition & 2 deletions
3
...ure/synapse/ml/cntk/ImageFeaturizer.scala → ...ure/synapse/ml/onnx/ImageFeaturizer.scala
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
16 changes: 16 additions & 0 deletions
16
deep-learning/src/main/scala/com/microsoft/azure/synapse/ml/onnx/ImageFeaturizer.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
The ``ImageFeaturizer`` relies on a ``ONNXModel`` to do the | ||
featurization of the image(s). One can set this model directly using the | ||
onnxModel parameter, or use setModel to set a known model name that will | ||
be pulled from the ONNXHub. See docs for other options to set the underlying | ||
model. | ||
|
||
The ``ImageFeaturizer`` takes an input column of images (the type | ||
returned by the ``ImageReader``), automatically resizes them to fit the | ||
``ONNXModel``'s inputs using an ``ImageTransformer``, and feeds them through | ||
a pre-trained ONNX model. Some of the ``ImageTransformer`` parameters are | ||
exposed on the featurizer so you can customize them. | ||
|
||
You may specify intermediate model nodes by either using the ``headless`` | ||
parameter to automatically choose the full model output (headless = false), | ||
or the intermediate feature nodes as indicated by the OnnxHub manifest for that | ||
model (headless = true). |
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
2 changes: 1 addition & 1 deletion
2
...ynapse/ml/cntk/ImageFeaturizerSuite.scala → ...ynapse/ml/onnx/ImageFeaturizerSuite.scala
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
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