Skip to content

Qustion about offline training and inference #20

Description

@floriculture

Thank you for sharing the awesome work on GitHub.
I want to train LSTR on my custom dataset for offline inference. So I modified the code:

long_start, long_end = max(0, work_start - self.long_memory_length), work_start - 1
and
long_start, long_end = max(0, work_start - self.long_memory_length), work_start - 1
to long_start, long_end = max(0, visual_inputs.shape[0] - self.long_memory_length), visual_inputs.shape[0] - 1
I wonder if I did the right thing? Is there anything else I should change?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions