Skip to content

Refactor VLM model code #164

Description

@camilobrownpinilla

What

Currently models/vlm.py uses redundant, copy-pasted blocks that can be generalized. Doing so not only adheres better to good design principles, but also makes a planned optimization much simpler to implement (see #126)

Scope

This tourches kempnerforge/model/vlm.py and tests/unit/test_vlm.py only.

Backward compatibility

Completely behavior-preserving and backwards compatible.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions