bash scripts/video/demo/video_demo.sh /data/checkpoints/llama3-llava-next-8b vicuna_v1 32 2 average after no_token True /mnt/data/user/tc_agi/qmli/LLaVA-NeXT-inference/LLaVA-NeXT-inference/playground/demo/xU25MMA2N4aVtYay.mp4
Traceback (most recent call last):
File "/mnt/data/user/tc_agi/qmli/LLaVA-NeXT-inference/LLaVA-NeXT-inference/playground/demo/video_demo.py", line 316, in
run_inference(args)
File "/mnt/data/user/tc_agi/qmli/LLaVA-NeXT-inference/LLaVA-NeXT-inference/playground/demo/video_demo.py", line 209, in run_inference
attention_masks = input_ids.ne(tokenizer.pad_token_id).long().cuda()
TypeError: ne() received an invalid combination of arguments - got (NoneType), but expected one of:
(Tensor other)
didn't match because some of the arguments have invalid types: (NoneType)
(Number other)
didn't match because some of the arguments have invalid types: (NoneType)
when i run bash , error occurs
Traceback (most recent call last): File "/mnt/data/user/tc_agi/qmli/LLaVA-NeXT-inference/LLaVA-NeXT-inference/playground/demo/video_demo.py", line 316, in
run_inference(args)
File "/mnt/data/user/tc_agi/qmli/LLaVA-NeXT-inference/LLaVA-NeXT-inference/playground/demo/video_demo.py", line 209, in run_inference
attention_masks = input_ids.ne(tokenizer.pad_token_id).long().cuda()
TypeError: ne() received an invalid combination of arguments - got (NoneType), but expected one of:
how can i solve this problem?