diff --git a/benchmark_pkl/README.md b/benchmark_pkl/README.md new file mode 100644 index 0000000000000000000000000000000000000000..24b0335b5dbce57f5fe68b577dc11e93a046956b --- /dev/null +++ b/benchmark_pkl/README.md @@ -0,0 +1 @@ +Annotation files (multiple-choice questions and answers) here \ No newline at end of file diff --git a/benchmark_pkl/check_pkl.ipynb b/benchmark_pkl/check_pkl.ipynb new file mode 100644 index 0000000000000000000000000000000000000000..f782b5ed8bf0bade3f3beaecb54c6d4b89260431 --- /dev/null +++ b/benchmark_pkl/check_pkl.ipynb @@ -0,0 +1,260 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": null, + "id": "98174dd2", + "metadata": {}, + "outputs": [], + "source": [ + "import pandas as pd\n", + "\n", + "df = pd.read_pickle('/home/ysong/temporal-mllms/data/temporal_data/benchmark_pkl/flintstones_single_grounding_all_story_test.pkl')" + ] + }, + { + "cell_type": "code", + "execution_count": 8, + "id": "bfbcdc41", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
| \n", + " | data_source | \n", + "img_seq_id | \n", + "question_id | \n", + "task_name | \n", + "input_image_type | \n", + "img_path_list | \n", + "combined_img_path | \n", + "event_to_test | \n", + "text_to_test | \n", + "task_instruction | \n", + "gt_option | \n", + "character_info | \n", + "img_to_test | \n", + "
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | \n", + "flintstones | \n", + "train_13320 | \n", + "train_13320_q0 | \n", + "single_grounding_all | \n", + "combined | \n", + "[data/flintstones/video_frames_sampled_jpg/s_0... | \n", + "data/flintstones/combined/s_01_e_01_shot_01335... | \n", + "Barney stuck his hand through the window and s... | \n", + "barney and fred are in the living room. fred i... | \n", + "Based on the event described, select the image... | \n", + "image 1 | \n", + "Fred is chubby, has black hair, a large nose a... | \n", + "data/flintstones/video_frames_sampled_jpg/s_01... | \n", + "
| 1 | \n", + "flintstones | \n", + "train_13320 | \n", + "train_13320_q1 | \n", + "single_grounding_all | \n", + "combined | \n", + "[data/flintstones/video_frames_sampled_jpg/s_0... | \n", + "data/flintstones/combined/s_01_e_01_shot_01335... | \n", + "Fred talked in the living room while wearing a... | \n", + "fred is wearing a head and arm bandage in the ... | \n", + "Based on the event described, select the image... | \n", + "image 2 | \n", + "Fred is chubby, has black hair, a large nose a... | \n", + "data/flintstones/video_frames_sampled_jpg/s_01... | \n", + "
| 2 | \n", + "flintstones | \n", + "train_13320 | \n", + "train_13320_q2 | \n", + "single_grounding_all | \n", + "combined | \n", + "[data/flintstones/video_frames_sampled_jpg/s_0... | \n", + "data/flintstones/combined/s_01_e_01_shot_01335... | \n", + "Fred and Wilma talked to each other in the room. | \n", + "fred and wilma are in the room. they are talki... | \n", + "Based on the event described, select the image... | \n", + "image 3 | \n", + "Fred is chubby, has black hair, a large nose a... | \n", + "data/flintstones/video_frames_sampled_jpg/s_01... | \n", + "
| 3 | \n", + "flintstones | \n", + "train_13320 | \n", + "train_13320_q3 | \n", + "single_grounding_all | \n", + "combined | \n", + "[data/flintstones/video_frames_sampled_jpg/s_0... | \n", + "data/flintstones/combined/s_01_e_01_shot_01335... | \n", + "Barney hit a machine with a hammer in the yard. | \n", + "barney is hitting a machine with a hammer in t... | \n", + "Based on the event described, select the image... | \n", + "image 4 | \n", + "Fred is chubby, has black hair, a large nose a... | \n", + "data/flintstones/video_frames_sampled_jpg/s_01... | \n", + "
| 4 | \n", + "flintstones | \n", + "train_13320 | \n", + "train_13320_q4 | \n", + "single_grounding_all | \n", + "combined | \n", + "[data/flintstones/video_frames_sampled_jpg/s_0... | \n", + "data/flintstones/combined/s_01_e_01_shot_01335... | \n", + "Fred pushed Barney's nose with a finger. | \n", + "fred and barney are outside. fred is talking a... | \n", + "Based on the event described, select the image... | \n", + "image 5 | \n", + "Fred is chubby, has black hair, a large nose a... | \n", + "data/flintstones/video_frames_sampled_jpg/s_01... | \n", + "