diff --git a/facial_landmark_detection/face_landmark_nchw.js b/facial_landmark_detection/face_landmark_nchw.js index bb347193..a32ba322 100644 --- a/facial_landmark_detection/face_landmark_nchw.js +++ b/facial_landmark_detection/face_landmark_nchw.js @@ -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], diff --git a/facial_landmark_detection/face_landmark_nhwc.js b/facial_landmark_detection/face_landmark_nhwc.js index da6575a0..e9963203 100644 --- a/facial_landmark_detection/face_landmark_nhwc.js +++ b/facial_landmark_detection/face_landmark_nhwc.js @@ -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], diff --git a/object_detection/ssd_mobilenetv1_nchw.js b/object_detection/ssd_mobilenetv1_nchw.js index b9df3753..035eaf92 100644 --- a/object_detection/ssd_mobilenetv1_nchw.js +++ b/object_detection/ssd_mobilenetv1_nchw.js @@ -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', diff --git a/object_detection/ssd_mobilenetv1_nhwc.js b/object_detection/ssd_mobilenetv1_nhwc.js index ec32ac38..df4d5e0f 100644 --- a/object_detection/ssd_mobilenetv1_nhwc.js +++ b/object_detection/ssd_mobilenetv1_nhwc.js @@ -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',