Fehu_visualizeSourceVisualization sinks, encoders, and rollout helpers.
Overlays for augmenting rendered frames with diagnostic annotations.
Video recording wrappers for environments and vectorized environments.
Push a single frame to the sink.
Push multiple frames sequentially.
val record_rollout :
env:('obs, 'act, Fehu.Render.t) Fehu.Env.t ->
policy:('obs -> 'act * float option * float option) ->
steps:int ->
?overlay:Overlay.t ->
sink:Sink.t ->
unit ->
unitRecord a rollout from a single environment to the sink.
val record_evaluation :
vec_env:('obs, 'act, Fehu.Render.t) Fehu.Vector_env.t ->
policy:('obs array -> 'act array * float array option * float array option) ->
n_episodes:int ->
?max_steps:int ->
layout:[ `Single_each | `NxM_grid of int * int ] ->
?overlay:Overlay.t ->
sink:Sink.t ->
unit ->
Fehu.Training.statsEvaluate a vectorized policy while recording frames.