Skip to content
This repository was archived by the owner on Oct 8, 2022. It is now read-only.
This repository was archived by the owner on Oct 8, 2022. It is now read-only.

Delete init_frames (only motion is needed here actually) #32

@todo

Description

@todo

Trainer/trainer/train.py

Lines 72 to 77 in 6de95e1

# TODO: Delete init_frames (only motion is needed here actually)
def train_chunk(scene: Scene, motion: flom.Motion, init_frames: Sequence[flom.Frame], robot: Robot, start: float, init_state: StateWithJoints, *, algorithm: str = 'OnePlusOne', num_iteration: int = 1000, weight_factor: float = 0.01, stddev: float = 1, andom_rate: float = 0.2, **kwargs):
chunk_length = len(init_frames)
num_joints = len(init_frames[0].positions)
weight_shape = (chunk_length, num_joints)


This issue was generated by todo based on a TODO comment in 6de95e1 when #31 was merged. cc @MonoMotion.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions