def create(model_config, reinforcer, optimizer, storage, total_frames, batches_per_epoch,<EOL>callbacks=None, scheduler=None, openai_logging=False):
from vel.openai.baselines import logger<EOL>logger.configure(dir=model_config.openai_dir())<EOL>return RlTrainCommand(<EOL>model_config=model_config,<EOL>reinforcer=reinforcer,<EOL>optimizer_factory=optimizer,<EOL>scheduler_factory=scheduler,<EOL>storage=storage,<EOL>callbacks=callbacks,<EOL>total_frames=int(float(total_frames)),<EOL>batches_per_epoch=int(batches_per_epoch),<EOL>openai_logging=openai_logging<EOL>)<EOL>
Vel factory function