Skip to content

Question about inference_chat.py #5

@stjohn2007

Description

@stjohn2007

Hi, thank you for releasing this great work!

I tried running inference_chat.py, but I encountered the following error:

G2VLM/modeling/g2vlm/g2vlm.py", line 25, in <module>
from pi3.models.layers.transformer_head import Pi3TransformerDecoder, Pi3LinearPts3d, Pi3ContextTransformerDecoder
ModuleNotFoundError: No module named 'pi3'

I tried copying the pi3 directory from the Pi3 repository (https://github.com/yyfz/Pi3/tree/main), but it seems that Pi3TransformerDecoder, Pi3LinearPts3d, and Pi3ContextTransformerDecoder do not exist in the original pi3 directory, so the same error still occurs.

If there are additional implementations or files required to run inference_chat.py, could you please provide them?

Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions