Autobrik/ecse552-idm
Inverse dynamics model (IDM) of the McGill ECSE 552 project Learning to Manipulate a New
Object from Action-Free Videos (code, model
src/action_free/idm.py, config configs/idm_turned.toml). It labels the target videos of
method (b).
Input: two consecutive frames (o_t, o_t+1) of the front, side and wrist cameras at 128 px
(10 Hz). Output: the 7 absolute joint targets a_t. One ImageNet ResNet-18 shared across
cameras on 9 channels (both frames and their difference), camera features concatenated,
MLP 512 -> 7. Trained 20 epochs (MSE on standardized targets, AdamW, batch 64) on the train
split (8 of every 10 episodes) of source-deterministic-n300-seed0 and
source-turned-n100-seed600000 of
Autobrik/ecse552-ocbench-block.
idm_turned/seed<k>/ (k = 0, 1, 2): best.pt (the epoch with the lowest source validation
sMAE; the checkpoint that produced the labels), config.json, history.json (losses and
validation errors per epoch). Load with
action_free.idm.load_idm(Path("idm_turned/seed0/best.pt"), device);
model.predict(obs, next_obs) returns absolute targets. Label errors per target:
docs/experiments/idm.md in the code; the labels themselves are under labels/ in the
dataset.