We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50f78fd commit ebfefabCopy full SHA for ebfefab
samples/js/node/hello_classification/hello_classification.js
@@ -47,7 +47,7 @@ async function main(modelPath, imagePath, deviceName) {
47
const _ppp = new ov.preprocess.PrePostProcessor(model);
48
_ppp.input().tensor().setShape(shape).setLayout('NHWC');
49
_ppp.input().preprocess().resize(ov.preprocess.resizeAlgorithm.RESIZE_LINEAR);
50
- _ppp.input().model().setLayout('NCHW');
+ _ppp.input().model().setLayout('NHWC');
51
_ppp.output().tensor().setElementType(ov.element.f32);
52
_ppp.build();
53
0 commit comments