|
|
@@ -1128,7 +1128,7 @@ view.ModelFactoryService = class {
|
|
|
this._extensions = [];
|
|
|
this.register('./onnx', [ '.onnx', '.pb', '.pbtxt', '.prototxt' ]);
|
|
|
this.register('./mxnet', [ '.mar', '.model', '.json', '.params' ]);
|
|
|
- this.register('./keras', [ '.h5', '.hd5', '.hdf5', '.keras', '.json', '.model', '.pb' ]);
|
|
|
+ this.register('./keras', [ '.h5', '.hd5', '.hdf5', '.keras', '.json', '.model', '.pb', '.pth' ]);
|
|
|
this.register('./coreml', [ '.mlmodel' ]);
|
|
|
this.register('./caffe', [ '.caffemodel', '.pbtxt', '.prototxt', '.pt' ]);
|
|
|
this.register('./caffe2', [ '.pb', '.pbtxt', '.prototxt' ]);
|