before candybox editor update
This commit is contained in:
@@ -43,7 +43,6 @@ public class OnnxModelOperation:BaseOperation
|
||||
}
|
||||
|
||||
var opts = new SessionOptions();
|
||||
//opts.AppendExecutionProvider_DML(0);
|
||||
_AIsession = new InferenceSession(ModelFilePath?.Path, opts);
|
||||
_inputName = _AIsession.InputMetadata.First().Key;
|
||||
_dimensions = _AIsession.InputMetadata.First().Value.Dimensions;
|
||||
|
||||
@@ -81,17 +81,6 @@ public class RawModelAIOperation: BaseOperation
|
||||
outputSize = _cSharpDataTransferMQRPC.GetOutputSize();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var currentImage = context.ActiveImage;
|
||||
|
||||
var rightColor = currentImage.ImageData.CvtColor(ColorConversionCodes.BGR2RGB);
|
||||
|
||||
Reference in New Issue
Block a user