5 Commits (9e7cdfc1fb933aabb551ddf605dfd5de381c3268)

Author SHA1 Message Date
mht 9e7cdfc1fb fixed conv problem and now it has cos sim 1 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