started improving web page and added more fixes

This commit is contained in:
2024-05-10 02:12:40 +01:00
parent bf5a706ecc
commit 389cc90826
26 changed files with 4940 additions and 157 deletions

View File

@@ -1313,7 +1313,7 @@ func generateExpandableDefinition(c BasePack, model *BaseModel, target_accuracy
log.Info("Size of the simple block", "loop", loop)
//loop = max(loop, 3)
loop = max(loop, min(2, model.ImageMode))
for i := 0; i < loop; i++ {
err = MakeLayerExpandable(db, def_id, order, LAYER_SIMPLE_BLOCK, "", 1)