Skip to content

Commit

Permalink
Add .pth extension
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder committed Sep 6, 2024
1 parent 14b67a9 commit 969d87f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -5632,7 +5632,7 @@ view.ModelFactoryService = class {
this.register('./lightgbm', ['.txt', '.pkl', '.model']);
this.register('./sklearn', ['.pkl', '.pickle', '.joblib', '.model', '.meta', '.pb', '.pt', '.h5', '.pkl.z', '.joblib.z', '.pickle.dat', '.bin']);
this.register('./megengine', ['.tm', '.mge', '.pkl']);
this.register('./pickle', ['.pkl', '.pickle', '.joblib', '.model', '.meta', '.pb', '.pt', '.h5', '.pkl.z', '.joblib.z', '.pdstates', '.mge', '.bin', '.npy']);
this.register('./pickle', ['.pkl', '.pickle', '.joblib', '.model', '.meta', '.pb', '.pt', '.h5', '.pkl.z', '.joblib.z', '.pdstates', '.mge', '.bin', '.npy', '.pth']);
this.register('./cntk', ['.model', '.cntk', '.cmf', '.dnn']);
this.register('./uff', ['.uff', '.pb', '.pbtxt', '.uff.txt', '.trt', '.engine']);
this.register('./paddle', ['.pdmodel', '.pdiparams', '.pdparams', '.pdopt', '.paddle', '__model__', '.__model__', '.pbtxt', '.txt', '.tar', '.tar.gz', '.nb']);
Expand Down

0 comments on commit 969d87f

Please sign in to comment.