rslearn.models.molmo¶
molmo ¶
Molmo model.
Molmo ¶
Bases: FeatureExtractor
Molmo image encoder.
Source code in rslearn/models/molmo.py
forward ¶
forward(context: ModelContext) -> FeatureMaps
Compute outputs from the backbone.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
context
|
ModelContext
|
the model context. Input dicts must include "image" key containing the image to process. The images should have values 0-255. |
required |
Returns:
| Type | Description |
|---|---|
FeatureMaps
|
a FeatureMaps. Molmo produces features at one scale, so it will contain one feature map that is a Bx24x24x2048 tensor. |