11 Commits (175a60e7f66374996a6d9d37a3a01fa33ff28f99)

Author SHA1 Message Date
mht d27fa815e9 Align C++ and Python ResNet debug output pipeline: identical preprocessing, shape, and output comparison; fix PyTorch 2.6+ torch.load issue; automate debug export and comparison for all stages 3 weeks ago
mht c646f63f00 WIP: Save and compare BB regressor and ResNet debug tensors, modularize comparison scripts, fix path issues, and improve reporting. [auto-commit] 3 weeks ago
mht 0c40682ef6 UI: Add dark mode theme to HTML report generated by compare_models.py 3 weeks ago
mht 92c44519b1 Refactor: Move BB regressor debug tensor comparison to model_comparison/bbreg_comparison.py; modularize test/compare_models.py 3 weeks ago
mht 02923684ba Fix model weight paths, unify tensor loading (plain/JIT), and enable robust C++/Python comparison for all model components 3 weeks ago
mht 0fdbcedc8e Fix: ResNet BatchNorm discrepancies and comparison script issues 3 weeks ago
mht c0e5aa7d0a Fix ResNet BatchNorm parameter loading and enhance BN1 debugging. Corrected loading of BatchNorm running_mean, running_var, and num_batches_tracked parameters in C++ ResNet BottleneckImpl and ResNetImpl to use direct member assignment instead of named_buffers(). This resolved discrepancies with Python's BatchNorm behavior. Added detailed intermediate output saving for bn1 in both C++ ResNet and Python comparison script to facilitate debugging. Ensured Python comparison script correctly loads and compares these new ResNet intermediate tensors. This series of changes led to numerical equivalence for ResNet conv1, bn1, and subsequently layer1-4 outputs between Python and C++. 2 months ago
mht e61886fb23 Fix NameError in compare_models; Add ResNet BN1 debug prints; Prepare to address other modules 2 months ago
mht e2f46802bf Feat: Achieved perfect Conv1, good BN1/ReLU1/MaxPool similarity. README updated. 2 months ago
mht ba35c5b500 a stable stage 2 months ago
mht 2502097f00 Docs: Enhance HTML report metrics and add test framework README 2 months ago