We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa2110b commit 67cfb4cCopy full SHA for 67cfb4c
packages/paddlejs-core/src/loader.ts
@@ -37,7 +37,7 @@ export default class ModelLoader {
37
};
38
39
constructor(modelPath: string) {
40
- let modelDir = '';
+ let modelDir = modelPath;
41
let filename = 'model.json';
42
if (modelPath.endsWith('.json')) {
43
const dirPosIndex = modelPath.lastIndexOf('/') + 1;
0 commit comments