QDpy
Loading...
Searching...
No Matches
qdt_distillation.py File Reference

Distill a behavior repertoire and compare descriptor tracking on fresh episodes. More...

Go to the source code of this file.

Classes

class  qdt_distillation.SignMemory
class  qdt_distillation.Teacher
class  qdt_distillation._FeedForwardActor

Functions

 qdt_distillation.rollout (env, actor, seed)
 qdt_distillation.teacher_data (env)
 qdt_distillation.make_transformer (env, seed)
 qdt_distillation.run (seed, epochs)

Detailed Description

Distill a behavior repertoire and compare descriptor tracking on fresh episodes.

Definition in file qdt_distillation.py.

Function Documentation

◆ make_transformer()

qdt_distillation.make_transformer ( env,
seed )
Create the small Transformer used in the CPU comparison.

Definition at line 79 of file qdt_distillation.py.

◆ rollout()

qdt_distillation.rollout ( env,
actor,
seed )
Record observations, physical actions, and the measured episode descriptor.

Definition at line 59 of file qdt_distillation.py.

◆ run()

qdt_distillation.run ( seed,
epochs )
Audit all three policy sources at known held-out descriptors and resets.

Definition at line 117 of file qdt_distillation.py.

◆ teacher_data()

qdt_distillation.teacher_data ( env)
Collect fixed teacher trajectories spanning the measured descriptor range.

Definition at line 74 of file qdt_distillation.py.