feat/infer_dev_260107 #1

Merged
teddy merged 43 commits from feat/infer_dev_260107 into develop 2026-01-29 10:31:31 +09:00
Showing only changes of commit e4faa1ad70 - Show all commits

View File

@@ -230,9 +230,9 @@ public class ModelMngDto {
private int chunkTotalIndex; private int chunkTotalIndex;
public double getUploadRate() { public double getUploadRate() {
// if (this.chunkTotalIndex == 0) { if (chunkIndex < 0 || chunkTotalIndex < 0) {
// return 0.0; return 0.0;
// } }
return (double) (this.chunkIndex + 1) / (this.chunkTotalIndex + 1) * 100.0; return (double) (this.chunkIndex + 1) / (this.chunkTotalIndex + 1) * 100.0;
} }
} }