GithubHelp home page GithubHelp logo

Comments (2)

hangzhang-nlp avatar hangzhang-nlp commented on August 16, 2024

image

from video-llama.

DeerEyre avatar DeerEyre commented on August 16, 2024

should i fill this ckpt with pretrained_ckpt or finetune_ckpt?
i fill this two blank with. finetune-ziya13b-zh.pth and finetune_vicuna7b_audiobranch.pth
my eval_config.yaml is following:

model:
arch: video_llama
model_type: pretrain_vicuna
freeze_vit: True
freeze_qformer: True
max_txt_len: 512
end_sym: "###"
low_resource: False

frozen_llama_proj: False

llama_model: "vicuna-13b/"
imagebind_ckpt_path: "imagebind/"

fusion_head_layers: 2
max_frame_pos: 32
fusion_header_type: "seqTransf"

ckpt: "finetune-ziya13b-zh.pth"
ckpt_2: "finetune_vicuna7b_audiobranch.pth"

datasets:
webvid:
vis_processor:
train:
name: "alpro_video_eval"
n_frms: 8
image_size: 224
text_processor:
train:
name: "blip_caption"

run:
task: video_text_pretrain

but these get the wrong of
audio encoder initialized.
Load first Checkpoint: /mnt/dolphinfs
/hdd_pool/docker/user/hadoop-search/gongshuai06/mt_bert_docker_row/Big_model/Video_model/Video_LLaMa/pretrained_finetuned_weights/finetune-ziya13b-zh.pth
Traceback (most recent call last):
File "/mnt/dolphinfs/hdd_pool/docker/user/hadoop-search/ganshu01/projects/Video-LLaMA-main/demo_audiovideo.py", line 66, in
model = model_cls.from_config(model_config).to('cuda:{}'.format(args.gpu_id))
File "/mnt/dolphinfs/hdd_pool/docker/user/hadoop-search/ganshu01/projects/Video-LLaMA-main/video_llama/models/video_llama.py", line 598, in from_config
ckpt = torch.load(ckpt_path, map_location="cpu")
File "/mnt/dolphinfs/hdd_pool/docker/user/hadoop-search/ganshu01/envs/llama-ganshu/lib/python3.9/site-packages/torch/serialization.py", line 797, in load
with _open_zipfile_reader(opened_file) as opened_zipfile:
File "/mnt/dolphinfs/hdd_pool/docker/user/hadoop-search/ganshu01/envs/llama-ganshu/lib/python3.9/site-packages/torch/serialization.py", line 283, in init
super().init(torch._C.PyTorchFileReader(name_or_buffer))
RuntimeError: PytorchStreamReader failed reading zip archive: invalid header or archive is corrupted

from video-llama.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.