Save the trained second-impact head, learning history and development provenance
Browse filesFiles changed (6)
- joint_h2_onset_velocity_20261129/dev/label_audit.jsonAdded+48
- joint_h2_onset_velocity_20261129/dev/ready.jsonAdded+23
- joint_h2_onset_velocity_20261129/joint_forecast.pyAdded+166
- joint_h2_onset_velocity_20261129/joint_weights.npzAdded+3
- joint_h2_onset_velocity_20261129/train_joint.pyAdded+255
- joint_h2_onset_velocity_20261129/training.jsonAdded+211
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ "train": { "registered": 5600, "nonidentical_f_cf_prefix": 0, "nonidentical_ids": [], "counts": { "nonfinite_inputs": 0, "zero_command": 0, "f_unique_H1": 5594, "cf_unique_H1": 5563, "paired_absent_both": 4520, "f_unique_H2": 2651, "f_unique_H3": 819, "cf_unique_H2": 1853, "cf_unique_H3": 289, "paired_timing_only": 59, "paired_removed": 707, "paired_created": 186, "paired_ambiguous": 84, "paired_unchanged": 6, "cf_ambiguous_H2": 42, "paired_rerouted": 38 } }, "val": { "registered": 1400, "nonidentical_f_cf_prefix": 0, "nonidentical_ids": [], "counts": { "nonfinite_inputs": 0, "zero_command": 0, "f_unique_H1": 1397, "cf_unique_H1": 1391, "paired_absent_both": 1108, "f_unique_H2": 628, "cf_unique_H2": 443, "f_unique_H3": 213, "cf_unique_H3": 80, "paired_timing_only": 9, "paired_removed": 189, "paired_unchanged": 1, "paired_created": 61, "paired_ambiguous": 23, "cf_ambiguous_H2": 12, "paired_rerouted": 9 } }}1234567891011121314151617181920212223{ "source_cache": "pineapplechoco/jais-physical-graph-cache", "cache_revision": "a0a8a0659e1c5533fd4b5c306ae24e3bd631e723", "prepared_index_path": "prepared-gt/v1/556f65b4ec02e2221009b9954e666fa0191187a6/index.json", "index_sha256": "d26c2b237f06db9a969848159b6a1b9dc1888a9061f47a408529ecb7826babbc", "source_raw_revision": "556f65b4ec02e2221009b9954e666fa0191187a6", "split_repository": "pineapplechoco/jais-physical-graph-work", "split_revision": "0d6e576f3e4d23458fd06f9e41892a6074d25e8d", "split_path": "propagator_baselines_20261121/split_ids.json", "split_sha256": "3ab7f580919fffeb78f201dfa2240cfeaaa48de8b6f0ab78b6e05b1ea1bec909", "counts": { "train": 5600, "val": 1400, "test": 5500 }, "train_val_restored": 7000, "shard_count": 64, "shards_in_local_Hub_cache_at_start": 40, "verified_no_train_val_test_overlap": true, "verified_no_fresh_overlap": true, "test_exact_match_with_previous_holdout": true, "cache_sha256_verified_individually": 7000}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166"""Frozen intervention attention with one learned second-contact timing/velocity head."""from functools import lru_cachefrom pathlib import Pathimport inspectimport jsonimport sys
import numpy as npimport torch
RUN = Path(__file__).resolve().parentARCHIVE = RUN.parent / "jais-intervention-review-20261129" / "paired"sys.path.insert(0, str(ARCHIVE / "code"))from models.dynamics import contact_velocity as basefrom models.dynamics import intervention_contact as old
WEIGHTS = ARCHIVE / "weights"ATT = WEIGHTS / "attention.pt"VEL = WEIGHTS / "velocity.npz"DT = 1/24FLOOR = base.NATIVE_CONTACT_FLOORWIDTH = 31
def feature_rows(feat, normal, tangent, v, roll, omega, static, i, j, frame, first): extra = [] for vec in (v[i], v[j], roll[i], roll[j]): extra.extend(((vec*normal).sum(1), (vec*tangent).sum(1))) extra.extend((omega[i]*static[i,3], omega[j]*static[j,3], np.full(len(i),(frame-first)/12))) return np.column_stack((feat,*extra)).astype(np.float32)
@lru_cache(maxsize=12)def load_head(path): with np.load(path, allow_pickle=False) as f: return {k:f[k].copy() for k in f.files}
def silu(x): return x/(1+np.exp(-np.clip(x,-40,40)))
def predict_rows(x, head): z=np.clip((x-head['mu'])/head['scale'],-5,5) z=silu(z@head['w1'].T+head['b1']) z=silu(z@head['w2'].T+head['b2']) y=z@head['wo'].T+head['bo'] probability=1/(1+np.exp(-np.clip(y[:,0],-35,35))) return probability,y[:,1:3]
class JointUpdate(base._ContactUpdate): def __init__(self, prefix, strength, threshold, head, collect): coef, prior=base._checkpoint(VEL,VEL.stat().st_mtime_ns) super().__init__(prefix,coef,prior,False) self.strength_joint=strength self.threshold=threshold self.head=head self.collect=collect self.samples=[] self.first_b=None self.complete=False self.current={} self.extra_edge=-1
def propose(self, frame, candidate, feat, normal, tangent, v, roll, omega, static, i, j, closing, gap, dt, subject): self.current={} self.extra_edge=-1 first=self.first_subject_frame if self.complete or first is None or frame<=first: return if self.first_b is None: recipients=np.flatnonzero(self.grid[first,subject]) if len(recipients)!=1: self.complete=True return self.first_b=int(recipients[0]) b=self.first_b near=(j==b)&(i!=subject)&(closing>.035)&(gap < closing*dt+.12)&(gap>-.7*(static[i,3]+static[j,3])) near &= ~self.grid[frame-1,j,i] edges=np.flatnonzero(near) if not len(edges): return ii,jj=i[edges],j[edges] x=feature_rows(feat[edges],normal[edges],tangent[edges],v,roll,omega,static,ii,jj,frame,first) if self.collect: self.samples.append((frame,b,ii.copy(),x,normal[edges].copy(),tangent[edges].copy(),candidate[edges].copy())) if not self.strength_joint: return probs,local_v=predict_rows(x,self.head) for k,c in enumerate(ii): target=normal[edges[k]]*local_v[k,0]+tangent[edges[k]]*local_v[k,1] self.current[int(c)]=(target,v[c].copy()) k=int(np.argmax(probs)) if probs[k]>=self.threshold: edge=int(edges[k]) candidate[edge]=True self.extra_edge=edge
def promote(self, edges, impulse, receivers, normals, closing): if self.extra_edge<0: return k=np.flatnonzero(edges==self.extra_edge) if not len(k): return k=int(k[0]) if np.linalg.norm(impulse[k])>=FLOOR: return target,incoming=self.current[int(receivers[k])] # A promoted edge needs a learned inward-supported velocity transfer to reach the native readout. nrm=normals[self.extra_edge] predicted=max(0.,float((target-incoming)@nrm)) bounded=min(predicted,1.5*float(closing[self.extra_edge])+.15,2.5) current=float(impulse[k]@nrm) impulse[k]+=self.strength_joint*max(0.,bounded-current)*nrm
def finish_frame(self, frame, velocity, subject): super().finish_frame(frame,velocity,subject) if self.complete or self.first_b is None or frame<=self.first_subject_frame: return b=self.first_b onsets=self.grid[frame,b]&~self.grid[frame-1,b] onsets[[b,subject]]=False cs=np.flatnonzero(onsets) if not len(cs): return self.complete=True if len(cs)==1 and int(cs[0]) in self.current: c=int(cs[0]) target,_=self.current[c] residual=target-velocity[c] scale=min(1.0,1.5/max(float(np.linalg.norm(residual)),1e-6)) velocity[c]+=self.strength_joint*scale*residual self.velocity[frame]=velocity
@lru_cache(maxsize=1)def instrumented(): code=inspect.getsource(old.forecast) # Install two narrow hooks in the exact frozen rollout; receiver normalization, motion integration # and native event threshold stay identical. Neither hook receives targets or future states. a=' delta = np.zeros_like(v)' b=' frac = np.clip(gap[idx] / np.maximum(dt * closing[idx], 1.0e-8), 0, 1)' if code.count(a)!=1 or code.count(b)!=2: raise ValueError('Unknown frozen forecast source') code=code.replace(a,' contact_update.propose(frame, candidate, feat, out, tan, v, roll, omega, static, i, j, closing, gap, dt, subject)\n'+a) code=code.replace(b,' contact_update.promote(idx, impulse, receivers, out, closing)\n'+b,1) scope=old.forecast.__globals__.copy() exec(compile(code,'<joint H2 attention>', 'exec'),scope) return scope['forecast']
def config(selection): if isinstance(selection,(str,Path)): selection=json.loads(Path(selection).read_text()) return selection
def forecast(source,selection): cfg=config(selection) strength=float(cfg.get("strength",0)) if not strength: return base.forecast(source,VEL,attention_checkpoint=ATT) path=Path(cfg['weights']) if not path.is_absolute(): path=RUN/path u=JointUpdate(source[0],strength,float(cfg["threshold"]),load_head(str(path)),False) xyz=instrumented()(*source,ATT,contact_update=u) return xyz,u.grid,u.velocity
def collect(source): u=JointUpdate(source[0],0.,1.,None,True) xyz=instrumented()(*source,ATT,contact_update=u) return xyz,u.grid,u.velocity,u.samples123version https://git-lfs.github.com/spec/v1oid sha256:e87d738e3e73a55a4e98e1628b92256c090ac961a3e569a76a602093cc12ebb8size 9964123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255"""Development-only collection, joint fitting, and validation lock for H2 adaptation."""import osimport sysfrom pathlib import PathROOT=Path(__file__).resolve().parentsys.path.insert(0,str(ROOT))import argparseimport gzipimport hashlibimport jsonimport multiprocessing as mpimport tempfilefrom collections import Counterfrom concurrent.futures import ProcessPoolExecutor,as_completed
import numpy as npimport torchfrom torch import nnfrom joint_forecast import ARCHIVE, RUN, WIDTH, collect, forecastfrom eval.contact_chains import chainfrom paired_metric import classify, unique, ordered
DEV=ROOT/'dev'OUT=ROOT/'fit'SEED=20261129GRID=[(s,t) for s in (.4,.8) for t in (.5,.75)]ARMS=('on','off')
def read(p): return json.loads(p.read_bytes())def save(p,v): p.parent.mkdir(parents=True,exist_ok=True) tmp=p.with_suffix(p.suffix+'.tmp') tmp.write_text(json.dumps(v,indent=2,sort_keys=True,allow_nan=False)+'\n') tmp.replace(p)def sha(p): return hashlib.sha256(p.read_bytes()).hexdigest()def data(sid): path=DEV/'cache'/(sid+'.npz') rc=read(DEV/'receipts'/(sid+'.json')) assert sha(path)==rc['cache_sha256'],sid e=rc['edits']['counterfactual'] step=int(e['intervention_step']);cut=(step-1)//10;angle=float(e['heading_change_rad']) with np.load(path,allow_pickle=False) as z: n=int(z['n']);subject=int(z['subject']);static=z['static'][:n].copy() f=z['state_f'][:,:n];cf=z['state_cf'][:,:n] src=(f[:cut+1].copy(), static, subject, angle, step) assert np.array_equal(src[0],cf[:cut+1]),sid arms={} for name,target,key in [('on',cf,'cf'),('off',f,'f')]: grid=np.pad(z['contact_'+key][:,:n,:n].astype(bool),((1,0),(0,0),(0,0))) arms[name]=(chain(grid,subject,cut), target[:,:,7:9].copy()) return src,arms
def use_arm(s,arm): return (*s[:3],s[3] if arm=='on' else 0.,s[4])
def variant_key(s,t):return f's{s:.1f}_p{t:.2f}'
def evaluate_arm(path,vel,truth,state): out={'path':path} if unique(truth,2): c=truth[1]['objects'][0] correct=ordered(path,truth,2,None) timely=correct and abs(path[1]['frame']-truth[1]['frame'])<=2 error=float(np.linalg.norm(vel[path[1]['frame'],c]-state[truth[1]['frame'],c])) if correct else None utility=(int(timely)+(1-min(error,1.) if correct else 0.))/2 out.update(correct=bool(correct),timely=bool(timely),error=error,utility=float(utility)) return out
def train_block(block): ix,ids=block file=OUT/'train_rows'/f'{ix:04d}.npz' info=file.with_suffix('.json') if file.exists() and info.exists(): assert read(info)['ids']==ids return read(info)['counts'] xs=[]; ys=[];vs=[]; vm=[];counters=Counter() for j,sid in enumerate(ids): source,targets=data(sid) for arm in ARMS: src=use_arm(source,arm) truth,state=targets[arm] xyz,grid,vel,rows=collect(src) if ix==0 and j%4==0: reference=forecast(src,{'strength':0.}) for before,after in zip(reference,(xyz,grid,vel)): np.testing.assert_array_equal(before,after) counters['zero_instrumentation_parity']+=1 path=chain(grid,src[2],len(src[0])-1) gt=unique(truth,2) counters['branches']+=1;counters['true_unique_h2']+=int(gt) counters['branches_with_opportunity']+=bool(rows) if gt: b,c=truth[0]['objects'][0],truth[1]['objects'][0] tf=truth[1]['frame'] for f,sender,receivers,x,normal,tangent,native in rows: local=np.zeros((len(x),2),np.float32) onset=np.zeros(len(x),np.float32) mask=np.zeros(len(x),bool) if gt and sender==b: loc=receivers==c onset[loc]=float(tf<=f<=tf+2) matched_native=(ordered(path,truth,2,None) and f==path[1]['frame']) if abs(f-tf)<=2 or matched_native: mask=loc local[mask,0]=normal[mask]@state[tf,c] local[mask,1]=tangent[mask]@state[tf,c] xs.append(x);ys.append(onset);vs.append(local);vm.append(mask) counters['candidate_rows']+=len(x);counters['onset_positive']+=int(onset.sum()) counters['velocity_rows']+=int(mask.sum()) if not gt:counters['no_unique_h2_negative_rows']+=len(x) flat=lambda l,w:np.concatenate(l) if l else np.empty(w,np.float32) file.parent.mkdir(parents=True,exist_ok=True) with file.with_suffix('.tmp').open('wb') as out: np.savez_compressed(out,x=flat(xs,(0,WIDTH)),y=flat(ys,(0,)),v=flat(vs,(0,2)),m=flat(vm,(0,)).astype(bool)) file.with_suffix('.tmp').replace(file) save(info,{'ids':ids,'counts':dict(counters)}) return dict(counters)
def split(): dev=read(DEV/'split.json') idx={k:[str(s).zfill(6) for s in dev[k]] for k in ('train','val')} assert len(idx['train'])==5600 and len(idx['val'])==1400 assert len(set(idx['train']+idx['val']))==7000 return idx
def parallel(fn,ids,workers,folder): made=0 args=[(i,ids[ix:ix+25]) for i,ix in enumerate(range(0,len(ids),25))] with ProcessPoolExecutor(max_workers=workers,mp_context=mp.get_context('fork')) as pool: futures={pool.submit(fn,arg):arg[0] for arg in args} for req in as_completed(futures): req.result();made+=1 print(folder,made,'/',len(args),flush=True)
def concatenate(): blobs=[] for p in sorted((OUT/'train_rows').glob('*.npz')): with np.load(p,allow_pickle=False) as z:blobs.append({k:z[k].copy() for k in ['x','y','v','m']}) return {k:np.concatenate([b[k] for b in blobs]) for k in blobs[0]}
def fit(): d=concatenate() x=d['x']; y=d['y']; v=d['v']; mask=d['m'] assert x.shape==(len(y),WIDTH) and np.isfinite(x).all() and np.isfinite(v).all() and y.sum()>5 and mask.sum()>5 mu=x.mean(0);scale=np.maximum(x.std(0),.04) torch.manual_seed(SEED) rng=np.random.default_rng(SEED) train=torch.from_numpy(np.clip((x-mu)/scale,-5,5)) y=torch.from_numpy(y);target=torch.from_numpy(v);mask=torch.from_numpy(mask) net=nn.Sequential(nn.Linear(WIDTH,32),nn.SiLU(),nn.Linear(32,32),nn.SiLU(),nn.Linear(32,3)) optimizer=torch.optim.AdamW(net.parameters(),lr=.003,weight_decay=.003) ratio=min(12.,(len(y)-float(y.sum()))/max(1.,float(y.sum()))) loss_bce=nn.BCEWithLogitsLoss(pos_weight=torch.tensor(ratio)) curve=[] for epoch in range(32): perm=rng.permutation(len(y));acc=np.zeros(3);used=0 for idx in np.array_split(perm,max(1,(len(perm)+255)//256)): p=net(train[idx]); onset=loss_bce(p[:,0],y[idx]) m=mask[idx] velocity=nn.functional.smooth_l1_loss(p[m,1:],target[idx][m],beta=.25) if m.any() else p[:,1:].sum()*0 loss=onset+velocity optimizer.zero_grad();loss.backward();nn.utils.clip_grad_norm_(net.parameters(),3.);optimizer.step() acc+=np.array([float(loss.detach()),float(onset.detach()),float(velocity.detach())])*len(idx);used+=len(idx) curve.append(dict(epoch=epoch+1,loss=acc[0]/used,onset_BCE=acc[1]/used,velocity_Huber=acc[2]/used)) w=lambda a:a.detach().cpu().numpy() np.savez_compressed(ROOT/'joint_weights.npz',mu=mu,scale=scale,w1=w(net[0].weight),b1=w(net[0].bias), w2=w(net[2].weight),b2=w(net[2].bias),wo=w(net[4].weight),bo=w(net[4].bias)) counts=Counter() for p in (OUT/'train_rows').glob('*.json'):counts.update(read(p)['counts']) save(ROOT/'training.json',{'seed':SEED,'n_train_scenes':5600,'counts':dict(counts),'bce_positive_weight':ratio,'epochs':curve, 'source_sha256':sha(ROOT/'joint_forecast.py'),'weight_sha256':sha(ROOT/'joint_weights.npz')}) print('FIT COMPLETE',dict(counts),curve[-1],flush=True)
def val_block(block): ix,ids=block dest=OUT/'val_rows'/f'{ix:04d}.json.gz';dest.parent.mkdir(parents=True,exist_ok=True) stamp=sha(ROOT/'joint_weights.npz') if dest.exists(): prior=json.loads(gzip.decompress(dest.read_bytes())) assert prior['stamp']==stamp return out=[] for sid in ids: source,targets=data(sid);subject=source[2];cut=len(source[0])-1 record={'scene':sid,'truth':{},'variants':{}} for arm in ARMS: src=use_arm(source,arm);truth,state=targets[arm] record['truth'][arm]=truth xyz,grid,v,rows=collect(src) path=chain(grid,subject,cut) baseline=evaluate_arm(path,v,truth,state) record['variants'].setdefault('baseline',{})[arm]=baseline for strength,threshold in GRID: key=variant_key(strength,threshold) cond=baseline if rows: _,g,vo=forecast(src,dict(strength=strength,threshold=threshold,weights='joint_weights.npz')) cond=evaluate_arm(chain(g,subject,cut),vo,truth,state) record['variants'].setdefault(key,{})[arm]=cond out.append(record) tmp=dest.with_suffix('.tmp');tmp.write_bytes(gzip.compress(json.dumps({'stamp':stamp,'rows':out},allow_nan=False,separators=(',',':')).encode(),mtime=0));tmp.replace(dest)
def select(): rows=[] for p in sorted((OUT/'val_rows').glob('*.json.gz')): rows.extend(json.loads(gzip.decompress(p.read_bytes()))['rows']) assert len(rows)==1400 and len(set(r['scene'] for r in rows))==1400 agg={} for variant in rows[0]['variants']: n=correct=timed=tp=fp=nc=neg=0;us=0.;err=[] for row in rows: truth=row['truth'];arms=row['variants'][variant] actual=classify(truth['off'],truth['on']) pred=classify(arms['off']['path'],arms['on']['path']) if actual=='created': nc+=1;tp+=int(pred=='created' and ordered(arms['on']['path'],truth['on'],3,None)) elif actual!='ambiguous': neg+=1;fp+=int(pred=='created') for arm in ARMS: g=arms[arm] if 'utility' not in g:continue n+=1;correct+=g['correct'];timed+=g['timely'];us+=g['utility'] if g['error'] is not None:err.append(g['error']) agg[variant]=dict(n_h2=n,correct_H2=int(correct),timed_H2=int(timed),utility=float(us/n),velocity_mae=float(np.mean(err)),created_tp=tp,created_n=nc,created_fp=fp,negative_n=neg) baseline=agg['baseline'];eligible=[] for s,t in GRID: k=variant_key(s,t);v=agg[k] allowed=(v['created_tp']>=baseline['created_tp'] and v['created_fp']<=baseline['created_fp'] and v['correct_H2']>=baseline['correct_H2']) v['guard_pass']=bool(allowed) if allowed:eligible.append((s,t)) score=lambda kv:(agg[variant_key(*kv)]['utility'],-kv[0],kv[1]) best=max(eligible or GRID,key=score);name=variant_key(*best) win=bool(eligible and agg[name]['utility']>baseline['utility']+1e-12) config=dict(variant=name,strength=best[0],threshold=best[1],weights='joint_weights.npz',weights_sha256=sha(ROOT/'joint_weights.npz'),implementation_sha256=sha(ROOT/'joint_forecast.py'),training_protocol_sha256=sha(ROOT/'training_protocol.json'),validation_sha256=None) save(ROOT/'validation.json',{'scenes':len(rows),'split_sha256':sha(DEV/'split.json'),'conditions':agg,'challenger':name,'deploy':name if win else 'baseline'}) config['validation_sha256']=sha(ROOT/'validation.json') save(ROOT/'challenger.json',config) save(ROOT/'selection.json',config if win else dict(config,variant='baseline',strength=0.,challenger=name)) print('VALIDATION LOCKED',agg,'DEPLOY',name if win else 'baseline',flush=True)
def main(): parser=argparse.ArgumentParser() parser.add_argument('--workers',type=int,default=12) parser.add_argument('--mode',choices=['train','val','both'],default='both') args=parser.parse_args() torch.set_num_threads(1); ids=split();OUT.mkdir(exist_ok=True) if args.mode in ('train','both'): parallel(train_block,ids['train'],args.workers,'train');fit() if args.mode in ('val','both'): parallel(val_block,ids['val'],args.workers,'val');select()
if __name__=='__main__': main()123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211{ "bce_positive_weight": 4.323793490460157, "counts": { "branches": 11200, "branches_with_opportunity": 5841, "candidate_rows": 18974, "no_unique_h2_negative_rows": 6064, "onset_positive": 3564, "true_unique_h2": 4504, "velocity_rows": 8148, "zero_instrumentation_parity": 14 }, "epochs": [ { "epoch": 1, "loss": 1.1700311699801456, "onset_BCE": 0.9958776698966191, "velocity_Huber": 0.17415350028457513 }, { "epoch": 2, "loss": 1.0476017008500518, "onset_BCE": 0.9210270872052758, "velocity_Huber": 0.12657461821392085 }, { "epoch": 3, "loss": 1.0314998041374661, "onset_BCE": 0.9063459792447012, "velocity_Huber": 0.12515382439878198 }, { "epoch": 4, "loss": 1.0184633180340437, "onset_BCE": 0.8934966461436319, "velocity_Huber": 0.12496667288151884 }, { "epoch": 5, "loss": 1.0054715849098697, "onset_BCE": 0.8810644022648411, "velocity_Huber": 0.124407190196919 }, { "epoch": 6, "loss": 0.9983085887888479, "onset_BCE": 0.8741055550490565, "velocity_Huber": 0.12420303910409951 }, { "epoch": 7, "loss": 0.9960686542361556, "onset_BCE": 0.8717849142617768, "velocity_Huber": 0.12428373908026208 }, { "epoch": 8, "loss": 0.9896553848639698, "onset_BCE": 0.864788180242867, "velocity_Huber": 0.12486720263574728 }, { "epoch": 9, "loss": 0.9839639129755029, "onset_BCE": 0.8598155718784859, "velocity_Huber": 0.12414833623061847 }, { "epoch": 10, "loss": 0.9778104329166993, "onset_BCE": 0.8545163689479444, "velocity_Huber": 0.1232940659564665 }, { "epoch": 11, "loss": 0.9759472620911929, "onset_BCE": 0.8528501012591174, "velocity_Huber": 0.12309715914240285 }, { "epoch": 12, "loss": 0.9681322188539224, "onset_BCE": 0.8453696562440425, "velocity_Huber": 0.12276256221445805 }, { "epoch": 13, "loss": 0.9661306008795509, "onset_BCE": 0.8441167102449872, "velocity_Huber": 0.12201388884358139 }, { "epoch": 14, "loss": 0.9630270621334777, "onset_BCE": 0.8412477938615196, "velocity_Huber": 0.12177926976411602 }, { "epoch": 15, "loss": 0.9580811875517632, "onset_BCE": 0.8365690344168085, "velocity_Huber": 0.1215121523401842 }, { "epoch": 16, "loss": 0.9562168219663251, "onset_BCE": 0.8349466178532055, "velocity_Huber": 0.1212702057018752 }, { "epoch": 17, "loss": 0.9532992169064642, "onset_BCE": 0.8321356571636701, "velocity_Huber": 0.12116356133233512 }, { "epoch": 18, "loss": 0.9489506455685123, "onset_BCE": 0.8277233201333817, "velocity_Huber": 0.12122732513669897 }, { "epoch": 19, "loss": 0.9474241161881728, "onset_BCE": 0.8265627149260433, "velocity_Huber": 0.1208614023553316 }, { "epoch": 20, "loss": 0.9440460828391797, "onset_BCE": 0.8237273079100959, "velocity_Huber": 0.12031877314163558 }, { "epoch": 21, "loss": 0.9408628690747902, "onset_BCE": 0.8204142065775512, "velocity_Huber": 0.120448661404037 }, { "epoch": 22, "loss": 0.9371486148335879, "onset_BCE": 0.8169151293040201, "velocity_Huber": 0.12023348423885108 }, { "epoch": 23, "loss": 0.9328994336533599, "onset_BCE": 0.8129523743238114, "velocity_Huber": 0.11994705605229827 }, { "epoch": 24, "loss": 0.9300231727361805, "onset_BCE": 0.8103066133701401, "velocity_Huber": 0.11971655737911423 }, { "epoch": 25, "loss": 0.9275270145623239, "onset_BCE": 0.807938472471587, "velocity_Huber": 0.11958854835033982 }, { "epoch": 26, "loss": 0.9225089030433181, "onset_BCE": 0.8032426419694896, "velocity_Huber": 0.11926626405421784 }, { "epoch": 27, "loss": 0.920219377639787, "onset_BCE": 0.8012130962724214, "velocity_Huber": 0.11900627868422985 }, { "epoch": 28, "loss": 0.9154894126816143, "onset_BCE": 0.7968151200693475, "velocity_Huber": 0.11867429688415815 }, { "epoch": 29, "loss": 0.9137253553991488, "onset_BCE": 0.7953346236979508, "velocity_Huber": 0.11839073279479274 }, { "epoch": 30, "loss": 0.9122084797000413, "onset_BCE": 0.7932349559761167, "velocity_Huber": 0.11897352571006543 }, { "epoch": 31, "loss": 0.9081101478735689, "onset_BCE": 0.788918633773001, "velocity_Huber": 0.11919151241128809 }, { "epoch": 32, "loss": 0.9065594200566733, "onset_BCE": 0.7876174221259218, "velocity_Huber": 0.11894199962003145 } ], "n_train_scenes": 5600, "seed": 20261129, "source_sha256": "c517e4457c41b229be9afbf99117c3375635b675ef8a95bae61550df927c3d52", "weight_sha256": "e87d738e3e73a55a4e98e1628b92256c090ac961a3e569a76a602093cc12ebb8"}joint_h2_onset_velocity_20261129/dev/label_audit.jsonAdded+48
joint_h2_onset_velocity_20261129/dev/ready.jsonAdded+23
joint_h2_onset_velocity_20261129/joint_forecast.pyAdded+166
joint_h2_onset_velocity_20261129/joint_weights.npzAdded+3
joint_h2_onset_velocity_20261129/train_joint.pyAdded+255
joint_h2_onset_velocity_20261129/training.jsonAdded+211