You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
am extremely fond of and admire your project and have been actively attempting to use the functions within it. However, when I executed the ./scripts/launch_vlm_servers.sh script, I encountered an error related to blip2itm. The specific error message is as follows: File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/workspaces/light-map-navigation/src/vlfm/vlfm/vlm/blip2itm.py", line 81, in <module> blip = BLIP2ITMServer() File "/workspaces/light-map-navigation/src/vlfm/vlfm/vlm/server_wrapper.py", line 18, in __init__ super().__init__(*args, **kwargs) File "/workspaces/light-map-navigation/src/vlfm/vlfm/vlm/blip2itm.py", line 29, in __init__ self.model, self.vis_processors, self.text_processors = load_model_and_preprocess( File "/usr/local/lib/python3.10/dist-packages/lavis/models/__init__.py", line 195, in load_model_and_preprocess model = model_cls.from_pretrained(model_type=model_type) File "/usr/local/lib/python3.10/dist-packages/lavis/models/base_model.py", line 70, in from_pretrained model = cls.from_config(model_cfg) File "/usr/local/lib/python3.10/dist-packages/lavis/models/blip2_models/blip2_qformer.py", line 508, in from_config model.load_checkpoint_from_config(cfg) File "/usr/local/lib/python3.10/dist-packages/lavis/models/base_model.py", line 100, in load_checkpoint_from_config self.load_from_pretrained(url_or_filename=pretrain_path, **kwargs) File "/usr/local/lib/python3.10/dist-packages/lavis/models/blip2_models/blip2.py", line 85, in load_from_pretrained checkpoint = torch.load(cached_file, map_location="cpu") File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 1072, in load with _open_zipfile_reader(opened_file) as opened_zipfile: File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 480, in __init__ super().__init__(torch._C.PyTorchFileReader(name_or_buffer)) RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
Looking forward to your reply.
The text was updated successfully, but these errors were encountered:
am extremely fond of and admire your project and have been actively attempting to use the functions within it. However, when I executed the
./scripts/launch_vlm_servers.sh
script, I encountered an error related to blip2itm. The specific error message is as follows:File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/workspaces/light-map-navigation/src/vlfm/vlfm/vlm/blip2itm.py", line 81, in <module> blip = BLIP2ITMServer() File "/workspaces/light-map-navigation/src/vlfm/vlfm/vlm/server_wrapper.py", line 18, in __init__ super().__init__(*args, **kwargs) File "/workspaces/light-map-navigation/src/vlfm/vlfm/vlm/blip2itm.py", line 29, in __init__ self.model, self.vis_processors, self.text_processors = load_model_and_preprocess( File "/usr/local/lib/python3.10/dist-packages/lavis/models/__init__.py", line 195, in load_model_and_preprocess model = model_cls.from_pretrained(model_type=model_type) File "/usr/local/lib/python3.10/dist-packages/lavis/models/base_model.py", line 70, in from_pretrained model = cls.from_config(model_cfg) File "/usr/local/lib/python3.10/dist-packages/lavis/models/blip2_models/blip2_qformer.py", line 508, in from_config model.load_checkpoint_from_config(cfg) File "/usr/local/lib/python3.10/dist-packages/lavis/models/base_model.py", line 100, in load_checkpoint_from_config self.load_from_pretrained(url_or_filename=pretrain_path, **kwargs) File "/usr/local/lib/python3.10/dist-packages/lavis/models/blip2_models/blip2.py", line 85, in load_from_pretrained checkpoint = torch.load(cached_file, map_location="cpu") File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 1072, in load with _open_zipfile_reader(opened_file) as opened_zipfile: File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 480, in __init__ super().__init__(torch._C.PyTorchFileReader(name_or_buffer)) RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
Looking forward to your reply.
The text was updated successfully, but these errors were encountered: