mirror of
https://github.com/ruvnet/RuView
synced 2026-07-20 17:03:24 +00:00
e1936c9a24
Shipped checkpoint REFUTED (0.08% PCK@20, wrong keypoint normalization); 6 reproducibility defects documented (broken imports, corrupted dataset tail with float32-max garbage that NaN-poisons fp16 BatchNorm, unreachable test phase). After repairs, retraining with upstream defaults reproduces 96.09% PCK@20 full-test / 96.61% corruption-free (published 97.25%) on RTX 5080. Claims graded MEASURED-EQUIVALENT; 2.23M params + ~0.055 GFLOPs verified. Third-party code/weights/data stay out of tree (gitignored). Co-Authored-By: claude-flow <ruv@ruv.net>
15 lines
515 B
Python
15 lines
515 B
Python
import numpy as np, os
|
|
d = os.path.expanduser('~/wiflow-std-bench/preprocessed_csi_data')
|
|
csi = np.load(os.path.join(d, 'csi_windows.npy'), mmap_mode='r+')
|
|
zeroed = 0
|
|
chunk = 4000
|
|
for i in range(0, len(csi), chunk):
|
|
block = csi[i:i+chunk]
|
|
finite = np.isfinite(block)
|
|
bad = (~finite).any(axis=(1, 2)) | (np.abs(np.where(finite, block, 0)).max(axis=(1, 2)) > 1.5)
|
|
if bad.any():
|
|
block[bad] = 0.0
|
|
zeroed += int(bad.sum())
|
|
csi.flush()
|
|
print(f'zeroed {zeroed} corrupted windows entirely')
|