Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.7.1
zouap 3 years ago
parent
commit
6460af4191
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/repo/modelmanage/convertIndex.tmpl

+ 1
- 1
templates/repo/modelmanage/convertIndex.tmpl View File

@@ -399,7 +399,7 @@
}
function isModel(filename){
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]){
return true;
}


Loading…
Cancel
Save