|
1 |
| -# 0.5.1 (14/12/2022) Bugfix update |
| 1 | +# 0.6.0-alpha-1 (16/01/2023) New inference api with multiple inputs support |
| 2 | +Api changes: |
| 3 | +* Changed `InferenceModel` interface: |
| 4 | + * Added type parameter representing inference result. [#515](https://github.com/Kotlin/kotlindl/pull/515) |
| 5 | + * Replaced classification function with general purpose prediction methods for single and multiple inputs. |
| 6 | + Extensions `org.jetbrains.kotlinx.dl.impl.inference.imagerecognition.PredictionKt.predictLabel` and |
| 7 | + `org.jetbrains.kotlinx.dl.impl.inference.imagerecognition.PredictionKt.predictProbabilities` were added for classification. [#515](https://github.com/Kotlin/kotlindl/pull/515) |
| 8 | + * Introduced `InferenceModel#resultConverter` to process inference results. [#515](https://github.com/Kotlin/kotlindl/pull/515) |
| 9 | + * Method `reshape` was removed, in favor of prediction methods receiving input as `FloatData` containing input shape information. [#513](https://github.com/Kotlin/kotlindl/pull/513) |
| 10 | + * Parameters were removed from the `copy` function. [#503](https://github.com/Kotlin/kotlindl/pull/503) |
| 11 | +* Replaced `SavedModel#predict` with `org.jetbrains.kotlinx.dl.dataset.InferenceModelExtensionsKt.predict` extension. [#515](https://github.com/Kotlin/kotlindl/pull/515) |
| 12 | +* Added `predictionFunction` parameter to the `org.jetbrains.kotlinx.dl.dataset.InferenceModelExtensionsKt.predict` and |
| 13 | + `org.jetbrains.kotlinx.dl.dataset.InferenceModelExtensionsKt.evaluate` extension functions. [#515](https://github.com/Kotlin/kotlindl/pull/515) |
| 14 | +* Shape information was added to the dataset classes. [#513](https://github.com/Kotlin/kotlindl/pull/513) |
| 15 | + * Changed return type of the `Dataset.getX` function to `FloatData`. |
| 16 | + * Added `TensorShape` parameter to `DataBatch` and `OnHeapDataset` constructors. |
| 17 | + * Removed `OnHeapDataset.Companion#createTrainAndTestDatasets`, |
| 18 | + `OnHeapDataset.Companion#create(String, String, int, Function1<String,float[][]>, Function2<String,Integer,float[]>)`, |
| 19 | + `OnHeapDataset.Companion#create(Function0<float[][]>, Function0<float[]>)` functions. |
| 20 | +* No-top models were moved to the separate model types (`TFModels.CVnoTop` and `ONNXModels.CVnoTop`). [#511](https://github.com/Kotlin/kotlindl/pull/511) |
| 21 | +* Changed high-level model classes so they do not implement `InferenceModel`. [#509](https://github.com/Kotlin/kotlindl/pull/509) |
| 22 | +* Converted `SavingFormat` to a class and added `isKerasFullyCompatible` parameter to `SavingFormat.JsonConfigCustomVariables`. [#501](https://github.com/Kotlin/kotlindl/pull/501) |
| 23 | +* Add basic multiple input support to `OnnxInferenceModel`. [#417](https://github.com/Kotlin/kotlindl/issues/417) |
| 24 | + |
| 25 | +# 0.5.1 (14/01/2023) Bugfix update |
2 | 26 | Bugfixes:
|
3 | 27 | * Fixed preprocessing in SSDObjectDetectionModel, MultiPoseDetectionModel,
|
4 | 28 | removed explicit shapes from Fan2d106 and UltraFace models [#496](https://github.com/Kotlin/kotlindl/pull/496)
|
|
0 commit comments