YoloPiece_OneShot_Models / model_manifest.json
Remidesbois's picture
Upload global reading-order reranker bundle
c4d5393 verified
Raw
History Blame Contribute Delete
29.5 kB
{
"repo_id": "Remidesbois/YoloPiece_OneShot_Models",
"created_at": "2026-07-02T22:07:13.459093+00:00",
"runtime": "onnxruntime-web",
"models": {
"bubble_detector.onnx": {
"path": "bubble_detector.onnx",
"size_bytes": 9898957,
"sha256": "fa28ece56ba9e5ccf4361fbb4d2533e088906b0a0d1cd187c02422ba7d6f5688"
},
"panel_detector.onnx": {
"path": "panel_detector.onnx",
"size_bytes": 9899051,
"sha256": "5518a0ff3adb64c0744f17f4227547b027d59345fba60e686b3a0bf2afd15f61"
},
"panel_order.onnx": {
"path": "panel_order.onnx",
"size_bytes": 1049,
"sha256": "6bf81020d3f5e74837eb716b524145b89541589a41c131279eef89dc4b968a89"
},
"bubble_order.onnx": {
"path": "bubble_order.onnx",
"size_bytes": 1675,
"sha256": "05242809322918bc2566ab6590c02f3e829519231ba109ae767f2e54a261b1a6"
},
"global_bubble_order.onnx": {
"path": "global_bubble_order.onnx",
"size_bytes": 1858,
"sha256": "50109250ff020f8c619b282d00827c8b381f951f84267662f120ee7abad02203",
"feature_count": 108,
"postprocess": {
"name": "vertical_small_bubble_repair_v1",
"gap_factor": 1.5,
"max_y_overlap": 0.05,
"max_area_ratio": 0.7
},
"enabled_by_default": true,
"benchmark_summary": {
"created_at": "2026-07-02T21:56:08.956143+00:00",
"status": "complete",
"baseline": {
"name": "current_panel_then_in_panel_ranker",
"family": "current_pipeline",
"runtime_compatible": true,
"page_full_accuracy": 0.8709677419354839,
"page_exact_matches": 27,
"page_count": 31,
"global_pairwise_accuracy": 0.9971448965024983,
"bubble_position_accuracy": 0.9726027397260274,
"panel_order_full_accuracy": 1.0,
"bubble_within_panel_full_accuracy": 0.9595959595959596,
"kendall_tau_distance_mean": 0.12903225806451613,
"ranker_type": "sklearn-logistic",
"reconstruction_method": "borda",
"feature_count": null
},
"selected_runtime_candidate": {
"name": "global_bubble_reranker_v1__sklearn-logistic__borda-vertical-repair",
"family": "global_bubble_reranker_v1",
"description": "global_bubble_reranker_v1 using sklearn-logistic and borda-vertical-repair.",
"runtime_compatible": true,
"ranker_type": "sklearn-logistic",
"reconstruction_method": "borda-vertical-repair",
"feature_count": 108,
"metrics": {
"train": {
"page_full_accuracy": 0.8811881188118812,
"page_exact_matches": 89,
"page_count": 101,
"bubble_position_accuracy": 0.9736286919831224,
"bubble_position_correct": 923,
"bubble_position_total": 948,
"global_pairwise_accuracy": 0.9972198460222412,
"global_pairwise_correct": 4663,
"global_pairwise_total": 4676,
"kendall_tau_distance_mean": 0.12871287128712872,
"inversion_count_total": 13,
"panel_order_full_accuracy": 1.0,
"bubble_within_panel_full_accuracy": 0.9746031746031746,
"error_categories": {
"wrong_panel_order": {
"pages": 0,
"rate": 0.0
},
"wrong_order_in_panel": {
"pages": 8,
"rate": 0.07920792079207921
},
"wrong_bubble_panel_assignment": {
"pages": 7,
"rate": 0.06930693069306931
},
"bubble_outside_panel": {
"pages": 0,
"rate": 0.0
},
"empty_or_missing_panels": {
"pages": 40,
"rate": 0.39603960396039606
},
"fallback_mangaOrderSort_used": {
"pages": 0,
"rate": 0.0
}
}
},
"validation": {
"page_full_accuracy": 0.96,
"page_exact_matches": 24,
"page_count": 25,
"bubble_position_accuracy": 0.984375,
"bubble_position_correct": 252,
"bubble_position_total": 256,
"global_pairwise_accuracy": 0.9985029940119761,
"global_pairwise_correct": 1334,
"global_pairwise_total": 1336,
"kendall_tau_distance_mean": 0.08,
"inversion_count_total": 2,
"panel_order_full_accuracy": 1.0,
"bubble_within_panel_full_accuracy": 0.9761904761904762,
"error_categories": {
"wrong_panel_order": {
"pages": 0,
"rate": 0.0
},
"wrong_order_in_panel": {
"pages": 1,
"rate": 0.04
},
"wrong_bubble_panel_assignment": {
"pages": 0,
"rate": 0.0
},
"bubble_outside_panel": {
"pages": 0,
"rate": 0.0
},
"empty_or_missing_panels": {
"pages": 4,
"rate": 0.16
},
"fallback_mangaOrderSort_used": {
"pages": 0,
"rate": 0.0
}
}
},
"test": {
"page_full_accuracy": 0.967741935483871,
"page_exact_matches": 30,
"page_count": 31,
"bubble_position_accuracy": 0.9931506849315068,
"bubble_position_correct": 290,
"bubble_position_total": 292,
"global_pairwise_accuracy": 0.9992862241256245,
"global_pairwise_correct": 1400,
"global_pairwise_total": 1401,
"kendall_tau_distance_mean": 0.03225806451612903,
"inversion_count_total": 1,
"panel_order_full_accuracy": 1.0,
"bubble_within_panel_full_accuracy": 0.98989898989899,
"error_categories": {
"wrong_panel_order": {
"pages": 0,
"rate": 0.0
},
"wrong_order_in_panel": {
"pages": 1,
"rate": 0.03225806451612903
},
"wrong_bubble_panel_assignment": {
"pages": 1,
"rate": 0.03225806451612903
},
"bubble_outside_panel": {
"pages": 0,
"rate": 0.0
},
"empty_or_missing_panels": {
"pages": 10,
"rate": 0.3225806451612903
},
"fallback_mangaOrderSort_used": {
"pages": 0,
"rate": 0.0
}
}
}
},
"training": {
"model_type": "sklearn-logistic",
"samples": 9352,
"feature_count": 108,
"sklearn_available": true
}
},
"baseline_comparison": {
"split": "test",
"baseline_experiment": "current_panel_then_in_panel_ranker",
"candidate_experiment": "global_bubble_reranker_v1__sklearn-logistic__borda-vertical-repair",
"common_page_count": 31,
"metric_deltas": {
"page_full_accuracy": 0.09677419354838712,
"page_exact_matches": 3,
"bubble_position_accuracy": 0.020547945205479423,
"global_pairwise_accuracy": 0.0021413276231262435,
"kendall_tau_distance_mean": -0.0967741935483871,
"inversion_count_total": -3
},
"corrected_pages": [
{
"page_id": 381,
"ground_truth_bubble_order": [
1129,
1130,
1131,
1132,
1133,
1134,
1135,
1136,
1137
],
"baseline_predicted_bubble_order": [
1129,
1130,
1131,
1133,
1132,
1134,
1135,
1136,
1137
],
"candidate_predicted_bubble_order": [
1129,
1130,
1131,
1132,
1133,
1134,
1135,
1136,
1137
],
"baseline_inversions": 1,
"candidate_inversions": 0,
"baseline_assignment_errors": [],
"candidate_assignment_errors": [],
"baseline_outside_panel_bubbles": [],
"candidate_outside_panel_bubbles": [],
"baseline_fallback_used": false,
"candidate_fallback_used": false
},
{
"page_id": 459,
"ground_truth_bubble_order": [
1817,
1818,
1819,
1820,
1822,
1821,
1823,
1824,
1825,
1826
],
"baseline_predicted_bubble_order": [
1817,
1818,
1819,
1820,
1822,
1821,
1823,
1824,
1826,
1825
],
"candidate_predicted_bubble_order": [
1817,
1818,
1819,
1820,
1822,
1821,
1823,
1824,
1825,
1826
],
"baseline_inversions": 1,
"candidate_inversions": 0,
"baseline_assignment_errors": [],
"candidate_assignment_errors": [],
"baseline_outside_panel_bubbles": [],
"candidate_outside_panel_bubbles": [],
"baseline_fallback_used": false,
"candidate_fallback_used": false
},
{
"page_id": 496,
"ground_truth_bubble_order": [
2172,
2173,
2174,
2175,
2178,
2179,
2180,
2176,
2177,
2181
],
"baseline_predicted_bubble_order": [
2172,
2173,
2174,
2175,
2179,
2178,
2180,
2176,
2177,
2181
],
"candidate_predicted_bubble_order": [
2172,
2173,
2174,
2175,
2178,
2179,
2180,
2176,
2177,
2181
],
"baseline_inversions": 1,
"candidate_inversions": 0,
"baseline_assignment_errors": [],
"candidate_assignment_errors": [],
"baseline_outside_panel_bubbles": [],
"candidate_outside_panel_bubbles": [],
"baseline_fallback_used": false,
"candidate_fallback_used": false
}
],
"regressed_pages": [],
"still_wrong_pages": [
{
"page_id": 356,
"ground_truth_bubble_order": [
785,
786,
787,
788,
789,
790,
791,
792,
793,
794
],
"baseline_predicted_bubble_order": [
786,
785,
787,
788,
789,
790,
791,
792,
793,
794
],
"candidate_predicted_bubble_order": [
786,
785,
787,
788,
789,
790,
791,
792,
793,
794
],
"baseline_inversions": 1,
"candidate_inversions": 1,
"baseline_assignment_errors": [],
"candidate_assignment_errors": [
793,
794
],
"baseline_outside_panel_bubbles": [],
"candidate_outside_panel_bubbles": [],
"baseline_fallback_used": false,
"candidate_fallback_used": false
}
],
"changed_but_still_wrong_pages": []
},
"runtime_decision": {
"status": "enabled_by_metrics",
"reason": "Selected runtime-compatible candidate beat the current baseline.",
"exported_onnx": "C:\\Users\\remis\\Documents\\Projet Git\\projet-one-piece-indexer\\docker_scripts\\train_reading_order\\models\\global_bubble_order.onnx",
"parity": {
"checked_samples": 32,
"max_abs_diff": 7.509450335838283e-08,
"tolerance": 1e-05
},
"feature_count": 108,
"postprocess": {
"name": "vertical_small_bubble_repair_v1",
"gap_factor": 1.5,
"max_y_overlap": 0.05,
"max_area_ratio": 0.7
}
}
}
}
},
"metrics": {
"reading_order": "metrics/reading_order_metrics.json",
"panel_detector": "metrics/panel_detector_metrics.json",
"reading_order_benchmark": "metrics/reading_order_benchmark.json"
},
"reading_order": {
"global_bubble_order": {
"path": "global_bubble_order.onnx",
"enabled_by_default": true,
"feature_count": 108,
"postprocess": {
"name": "vertical_small_bubble_repair_v1",
"gap_factor": 1.5,
"max_y_overlap": 0.05,
"max_area_ratio": 0.7
},
"benchmark_summary": {
"created_at": "2026-07-02T21:56:08.956143+00:00",
"status": "complete",
"baseline": {
"name": "current_panel_then_in_panel_ranker",
"family": "current_pipeline",
"runtime_compatible": true,
"page_full_accuracy": 0.8709677419354839,
"page_exact_matches": 27,
"page_count": 31,
"global_pairwise_accuracy": 0.9971448965024983,
"bubble_position_accuracy": 0.9726027397260274,
"panel_order_full_accuracy": 1.0,
"bubble_within_panel_full_accuracy": 0.9595959595959596,
"kendall_tau_distance_mean": 0.12903225806451613,
"ranker_type": "sklearn-logistic",
"reconstruction_method": "borda",
"feature_count": null
},
"selected_runtime_candidate": {
"name": "global_bubble_reranker_v1__sklearn-logistic__borda-vertical-repair",
"family": "global_bubble_reranker_v1",
"description": "global_bubble_reranker_v1 using sklearn-logistic and borda-vertical-repair.",
"runtime_compatible": true,
"ranker_type": "sklearn-logistic",
"reconstruction_method": "borda-vertical-repair",
"feature_count": 108,
"metrics": {
"train": {
"page_full_accuracy": 0.8811881188118812,
"page_exact_matches": 89,
"page_count": 101,
"bubble_position_accuracy": 0.9736286919831224,
"bubble_position_correct": 923,
"bubble_position_total": 948,
"global_pairwise_accuracy": 0.9972198460222412,
"global_pairwise_correct": 4663,
"global_pairwise_total": 4676,
"kendall_tau_distance_mean": 0.12871287128712872,
"inversion_count_total": 13,
"panel_order_full_accuracy": 1.0,
"bubble_within_panel_full_accuracy": 0.9746031746031746,
"error_categories": {
"wrong_panel_order": {
"pages": 0,
"rate": 0.0
},
"wrong_order_in_panel": {
"pages": 8,
"rate": 0.07920792079207921
},
"wrong_bubble_panel_assignment": {
"pages": 7,
"rate": 0.06930693069306931
},
"bubble_outside_panel": {
"pages": 0,
"rate": 0.0
},
"empty_or_missing_panels": {
"pages": 40,
"rate": 0.39603960396039606
},
"fallback_mangaOrderSort_used": {
"pages": 0,
"rate": 0.0
}
}
},
"validation": {
"page_full_accuracy": 0.96,
"page_exact_matches": 24,
"page_count": 25,
"bubble_position_accuracy": 0.984375,
"bubble_position_correct": 252,
"bubble_position_total": 256,
"global_pairwise_accuracy": 0.9985029940119761,
"global_pairwise_correct": 1334,
"global_pairwise_total": 1336,
"kendall_tau_distance_mean": 0.08,
"inversion_count_total": 2,
"panel_order_full_accuracy": 1.0,
"bubble_within_panel_full_accuracy": 0.9761904761904762,
"error_categories": {
"wrong_panel_order": {
"pages": 0,
"rate": 0.0
},
"wrong_order_in_panel": {
"pages": 1,
"rate": 0.04
},
"wrong_bubble_panel_assignment": {
"pages": 0,
"rate": 0.0
},
"bubble_outside_panel": {
"pages": 0,
"rate": 0.0
},
"empty_or_missing_panels": {
"pages": 4,
"rate": 0.16
},
"fallback_mangaOrderSort_used": {
"pages": 0,
"rate": 0.0
}
}
},
"test": {
"page_full_accuracy": 0.967741935483871,
"page_exact_matches": 30,
"page_count": 31,
"bubble_position_accuracy": 0.9931506849315068,
"bubble_position_correct": 290,
"bubble_position_total": 292,
"global_pairwise_accuracy": 0.9992862241256245,
"global_pairwise_correct": 1400,
"global_pairwise_total": 1401,
"kendall_tau_distance_mean": 0.03225806451612903,
"inversion_count_total": 1,
"panel_order_full_accuracy": 1.0,
"bubble_within_panel_full_accuracy": 0.98989898989899,
"error_categories": {
"wrong_panel_order": {
"pages": 0,
"rate": 0.0
},
"wrong_order_in_panel": {
"pages": 1,
"rate": 0.03225806451612903
},
"wrong_bubble_panel_assignment": {
"pages": 1,
"rate": 0.03225806451612903
},
"bubble_outside_panel": {
"pages": 0,
"rate": 0.0
},
"empty_or_missing_panels": {
"pages": 10,
"rate": 0.3225806451612903
},
"fallback_mangaOrderSort_used": {
"pages": 0,
"rate": 0.0
}
}
}
},
"training": {
"model_type": "sklearn-logistic",
"samples": 9352,
"feature_count": 108,
"sklearn_available": true
}
},
"baseline_comparison": {
"split": "test",
"baseline_experiment": "current_panel_then_in_panel_ranker",
"candidate_experiment": "global_bubble_reranker_v1__sklearn-logistic__borda-vertical-repair",
"common_page_count": 31,
"metric_deltas": {
"page_full_accuracy": 0.09677419354838712,
"page_exact_matches": 3,
"bubble_position_accuracy": 0.020547945205479423,
"global_pairwise_accuracy": 0.0021413276231262435,
"kendall_tau_distance_mean": -0.0967741935483871,
"inversion_count_total": -3
},
"corrected_pages": [
{
"page_id": 381,
"ground_truth_bubble_order": [
1129,
1130,
1131,
1132,
1133,
1134,
1135,
1136,
1137
],
"baseline_predicted_bubble_order": [
1129,
1130,
1131,
1133,
1132,
1134,
1135,
1136,
1137
],
"candidate_predicted_bubble_order": [
1129,
1130,
1131,
1132,
1133,
1134,
1135,
1136,
1137
],
"baseline_inversions": 1,
"candidate_inversions": 0,
"baseline_assignment_errors": [],
"candidate_assignment_errors": [],
"baseline_outside_panel_bubbles": [],
"candidate_outside_panel_bubbles": [],
"baseline_fallback_used": false,
"candidate_fallback_used": false
},
{
"page_id": 459,
"ground_truth_bubble_order": [
1817,
1818,
1819,
1820,
1822,
1821,
1823,
1824,
1825,
1826
],
"baseline_predicted_bubble_order": [
1817,
1818,
1819,
1820,
1822,
1821,
1823,
1824,
1826,
1825
],
"candidate_predicted_bubble_order": [
1817,
1818,
1819,
1820,
1822,
1821,
1823,
1824,
1825,
1826
],
"baseline_inversions": 1,
"candidate_inversions": 0,
"baseline_assignment_errors": [],
"candidate_assignment_errors": [],
"baseline_outside_panel_bubbles": [],
"candidate_outside_panel_bubbles": [],
"baseline_fallback_used": false,
"candidate_fallback_used": false
},
{
"page_id": 496,
"ground_truth_bubble_order": [
2172,
2173,
2174,
2175,
2178,
2179,
2180,
2176,
2177,
2181
],
"baseline_predicted_bubble_order": [
2172,
2173,
2174,
2175,
2179,
2178,
2180,
2176,
2177,
2181
],
"candidate_predicted_bubble_order": [
2172,
2173,
2174,
2175,
2178,
2179,
2180,
2176,
2177,
2181
],
"baseline_inversions": 1,
"candidate_inversions": 0,
"baseline_assignment_errors": [],
"candidate_assignment_errors": [],
"baseline_outside_panel_bubbles": [],
"candidate_outside_panel_bubbles": [],
"baseline_fallback_used": false,
"candidate_fallback_used": false
}
],
"regressed_pages": [],
"still_wrong_pages": [
{
"page_id": 356,
"ground_truth_bubble_order": [
785,
786,
787,
788,
789,
790,
791,
792,
793,
794
],
"baseline_predicted_bubble_order": [
786,
785,
787,
788,
789,
790,
791,
792,
793,
794
],
"candidate_predicted_bubble_order": [
786,
785,
787,
788,
789,
790,
791,
792,
793,
794
],
"baseline_inversions": 1,
"candidate_inversions": 1,
"baseline_assignment_errors": [],
"candidate_assignment_errors": [
793,
794
],
"baseline_outside_panel_bubbles": [],
"candidate_outside_panel_bubbles": [],
"baseline_fallback_used": false,
"candidate_fallback_used": false
}
],
"changed_but_still_wrong_pages": []
},
"runtime_decision": {
"status": "enabled_by_metrics",
"reason": "Selected runtime-compatible candidate beat the current baseline.",
"exported_onnx": "C:\\Users\\remis\\Documents\\Projet Git\\projet-one-piece-indexer\\docker_scripts\\train_reading_order\\models\\global_bubble_order.onnx",
"parity": {
"checked_samples": 32,
"max_abs_diff": 7.509450335838283e-08,
"tolerance": 1e-05
},
"feature_count": 108,
"postprocess": {
"name": "vertical_small_bubble_repair_v1",
"gap_factor": 1.5,
"max_y_overlap": 0.05,
"max_area_ratio": 0.7
}
}
},
"runtime_decision": {
"status": "enabled_by_metrics",
"reason": "Selected runtime-compatible candidate beat the current baseline.",
"exported_onnx": "C:\\Users\\remis\\Documents\\Projet Git\\projet-one-piece-indexer\\docker_scripts\\train_reading_order\\models\\global_bubble_order.onnx",
"parity": {
"checked_samples": 32,
"max_abs_diff": 7.509450335838283e-08,
"tolerance": 1e-05
},
"feature_count": 108,
"postprocess": {
"name": "vertical_small_bubble_repair_v1",
"gap_factor": 1.5,
"max_y_overlap": 0.05,
"max_area_ratio": 0.7
}
}
}
},
"source_repos": {
"bubble_detector": "Remidesbois/YoloPiece_BubbleDetector_Nano",
"baseline_fallback": "Remidesbois/YoloPiece_OneShot_Models"
},
"artifact_sources": {
"bubble_detector.onnx": "hf:Remidesbois/YoloPiece_BubbleDetector_Nano/onepiece_detector_nano.onnx",
"panel_detector.onnx": "local",
"panel_order.onnx": "local",
"bubble_order.onnx": "local",
"metrics/panel_detector_metrics.json": "local",
"metrics/reading_order_metrics.json": "local",
"metrics/reading_order_benchmark.json": "generated",
"documentation/reading_order_experiments.md": "generated",
"global_bubble_order.onnx": "local",
"global_bubble_order_model.json": "local",
"global_bubble_order_features.json": "local"
}
}