This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
提交代码。
Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.7.1
zouap
3 years ago
parent
106ec2f29d
commit
6460af4191
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
templates/repo/modelmanage/convertIndex.tmpl
+ 1
- 1
templates/repo/modelmanage/convertIndex.tmpl
View File
@@ -399,7 +399,7 @@
}
}
function isModel(filename){
function isModel(filename){
var postfix=[".pth",".pkl",".onnx",".mindir",".cpkt",".pb"];
var postfix=[".pth",".pkl",".onnx",".mindir",".cpkt",".pb"];
for(
int
i =0; i<postfix.length;i++){
for(
var
i =0; i<postfix.length;i++){
if(filename.substring(filename.length-postfix[i].length)==postfix[i]){
if(filename.substring(filename.length-postfix[i].length)==postfix[i]){
return true;
return true;
}
}
Write
Preview
Loading…
Cancel
Save