OpenGVLab / LAMM

[NeurIPS 2023 Datasets and Benchmarks Track] LAMM: Multi-Modal Large Language Models and Applications as AI Agents
https://openlamm.github.io/
297 stars 16 forks source link

petrel_client #75

Open KimWu1994 opened 5 months ago

KimWu1994 commented 5 months ago

I run scripts sh tools/LAMM/train_lamm2d.sh lamm_2d.

An error report as follows:

Traceback (most recent call last):
  File "/ssd/wjl/LAMM/src/train.py", line 14, in <module>
    from model import load_model
  File "/ssd/wjl/LAMM/src/model/__init__.py", line 3, in <module>
    from .LAMM import LAMMPEFTModel
  File "/ssd/wjl/LAMM/src/model/LAMM/__init__.py", line 1, in <module>
    from .openlamm import LAMMPEFTModel
  File "/ssd/wjl/LAMM/src/model/LAMM/openlamm.py", line 3, in <module>
    from petrel_client.client import Client
ModuleNotFoundError: No module named 'petrel_client'
Traceback (most recent call last):
  File "/ssd/wjl/LAMM/src/train.py", line 14, in <module>
    from model import load_model
  File "/ssd/wjl/LAMM/src/model/__init__.py", line 3, in <module>
    from .LAMM import LAMMPEFTModel
  File "/ssd/wjl/LAMM/src/model/LAMM/__init__.py", line 1, in <module>
    from .openlamm import LAMMPEFTModel
  File "/ssd/wjl/LAMM/src/model/LAMM/openlamm.py", line 3, in <module>
    from petrel_client.client import Client
ModuleNotFoundError: No module named 'petrel_client'
Coach257 commented 4 months ago

Sorry for the mistake. This code is used for loading extra data from ceph, which is not included in LAMM itself. You can fix this by simply delete this code and the related code. These code does not affect the training and inference process.