mirror of
https://github.com/Vision-CAIR/MiniGPT-4.git
synced 2025-04-05 02:20:47 +00:00
test
This commit is contained in:
parent
3efda2ac76
commit
5cba998d17
@ -260,6 +260,7 @@ class MiniGPT4(Blip2Base):
|
||||
)
|
||||
|
||||
ckpt_path = cfg.get("ckpt", "") # load weights of MiniGPT-4
|
||||
ckpt_path = None
|
||||
if ckpt_path:
|
||||
print("Load BLIP2-LLM Checkpoint: {}".format(ckpt_path))
|
||||
ckpt = torch.load(ckpt_path, map_location="cpu")
|
||||
|
Loading…
Reference in New Issue
Block a user