This commit is contained in:
2026-04-24 21:26:39 +09:00
parent cd38fd49e2
commit 0fe1e355a7
15 changed files with 204 additions and 11339 deletions

View File

@@ -52,7 +52,7 @@ def predict():
with torch.no_grad():
input_tensor = torch.from_numpy(X_scaled).float()
pred = model(input_tensor) * 11 + 1
pred = model(input_tensor) * 12 + 0.5
print(float(pred.item()))
except Exception as e:
print(f"ERROR: {e}", file=sys.stderr)
@@ -89,7 +89,7 @@ function main() {
console.error(`Error: Difficulty '${difficulty}' not found.`);
process.exit(1);
}
const score = runInference(workingDir, factorize(chart));
console.log(`\n🎯 Predicted Difficulty: ${score.toFixed(2)}`);
}