Skip to content

Commit

Permalink
Fix invalid signature issue (#207)
Browse files Browse the repository at this point in the history
* Add bug report notes for WebNN Samples

* Fix invalid signature issue
  • Loading branch information
ibelem authored Mar 26, 2024
1 parent 4eb071a commit 3533650
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion facial_landmark_detection/face_landmark_nchw.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class FaceLandmarkNchw {
this.builder_ = null;
this.graph_ = null;
this.weightsUrl_ = weightsOrigin() +
'/test-data/models/face_landmark_nchw/weights/';
'/test-data/models/face_landmark_nchw/weights';
this.inputOptions = {
inputLayout: 'nchw',
inputDimensions: [1, 3, 128, 128],
Expand Down
2 changes: 1 addition & 1 deletion facial_landmark_detection/face_landmark_nhwc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class FaceLandmarkNhwc {
this.builder_ = null;
this.graph_ = null;
this.weightsUrl_ = weightsOrigin() +
'/test-data/models/face_landmark_nhwc/weights/';
'/test-data/models/face_landmark_nhwc/weights';
this.inputOptions = {
inputLayout: 'nhwc',
inputDimensions: [1, 128, 128, 3],
Expand Down
4 changes: 2 additions & 2 deletions object_detection/ssd_mobilenetv1_nchw.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ export class SsdMobilenetV1Nchw {
this.builder_ = null;
this.graph_ = null;
this.weightsUrl_ = weightsOrigin() +
'/test-data/models/ssd_mobilenetv1_nchw/weights/';
'/test-data/models/ssd_mobilenetv1_nchw/weights';
// Shares the same bias files with 'nhwc' layout
this.biasUrl_ = weightsOrigin() +
'/test-data/models/ssd_mobilenetv1_nhwc/weights/';
'/test-data/models/ssd_mobilenetv1_nhwc/weights';
this.inputOptions = {
inputLayout: 'nchw',
labelUrl: './labels/coco_classes.txt',
Expand Down
2 changes: 1 addition & 1 deletion object_detection/ssd_mobilenetv1_nhwc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class SsdMobilenetV1Nhwc {
this.builder_ = null;
this.graph_ = null;
this.weightsUrl_ = weightsOrigin() +
'/test-data/models/ssd_mobilenetv1_nhwc/weights/';
'/test-data/models/ssd_mobilenetv1_nhwc/weights';
this.inputOptions = {
inputLayout: 'nhwc',
labelUrl: './labels/coco_classes.txt',
Expand Down

0 comments on commit 3533650

Please sign in to comment.