Visualizers - VS-Code

Iterable pipes for displaying environments as they run using typing.NamedTuples with image fields for VS-Code

SimpleVSCodeVideoPlayer

 SimpleVSCodeVideoPlayer (*args, **kwds)

Displays video from a source_datapipe that produces typing.NamedTuples that contain an image field. This only can handle 1 env input.


VSCodeTransformBlock

 VSCodeTransformBlock (dp_augmentation_fns:Tuple[fastrl.pipes.core.DataPip
                       eAugmentationFn]=None)

Basic OpenAi gym DataPipeGraph with first-last, nstep, and nskip capability

Type Default Details
dp_augmentation_fns typing.Tuple[fastrl.pipes.core.DataPipeAugmentationFn] None Additional pipelines to insert, replace, remove
Returns None
import pandas as pd
from fastrl.pipes.core import *
from fastrl.pipes.map.transforms import *
from fastrl.envs.gym import GymTypeTransform,GymStepper,GymTransformBlock