unilab.training.run.is_viser_play_render_mode

unilab.training.run.is_viser_play_render_mode(play_render_mode)[source]

Return whether the configured mode selects the browser-based viser viewer.

viser is a UniLab-level playback mode layered on top of the unisim PLAY_RENDER_MODES contract; it renders through the shared MuJoCo playback shell instead of a backend-native renderer, so it never reaches SimBackend.resolve_play_render_plan.

Parameters:

play_render_mode (str | None)

Return type:

bool