Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActivityNet-QA test error #127

Open
ooooohira opened this issue Oct 14, 2024 · 0 comments
Open

ActivityNet-QA test error #127

ooooohira opened this issue Oct 14, 2024 · 0 comments

Comments

@ooooohira
Copy link

ooooohira commented Oct 14, 2024

Hello ! , Thanks for great work.

I download test set video data from onedrive.

However, I tried the next command, then I get error such as

Traceback (most recent call last):
File "/Video-ChatGPT/video_chatgpt/eval/run_inference_activitynet_qa.py", line 92, in
run_inference(args)
File "/Video-ChatGPT/video_chatgpt/eval/run_inference_activitynet_qa.py", line 73, in run_inference
if os.path.exists(video_path):
UnboundLocalError: local variable 'video_path' referenced before assignment

python video_chatgpt/eval/run_inference_activitynet_qa.py \
    --video_dir <path-to-video-dir> \
    --gt_file_question <test_q.json> \
    --gt_file_answers <test_a.json> \
    --output_dir <path-to-out-dir> \
    --output_name video_chatgpt_activitynet_qa_preds \
    --projection_path <path-to-video-chat-gpt-checkpoint> 

maybe, test set video data from onedrive doesn't contain target video in here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant