Datasets:
ArXiv:
License:
Delete MMEB-V3
Browse files- MMEB-V3/mscoco_omni/.gitattributes +0 -60
- MMEB-V3/mscoco_omni/README.md +0 -16
- MMEB-V3/mscoco_omni/audios.tar.gz +0 -3
- MMEB-V3/mscoco_omni/catalog.jsonl +0 -0
- MMEB-V3/mscoco_omni/geminiAPI.py +0 -321
- MMEB-V3/mscoco_omni/invalid.log +0 -132
- MMEB-V3/mscoco_omni/mscoco_cmret_all.jsonl +0 -113
- MMEB-V3/mscoco_omni/requirements.txt +0 -6
- MMEB-V3/mscoco_omni/setup.sh +0 -14
- MMEB-V3/mscoco_omni/videos.tar.gz +0 -3
MMEB-V3/mscoco_omni/.gitattributes
DELETED
|
@@ -1,60 +0,0 @@
|
|
| 1 |
-
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
-
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
-
*.avro filter=lfs diff=lfs merge=lfs -text
|
| 4 |
-
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 5 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 6 |
-
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 7 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 9 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 10 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 11 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 12 |
-
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 13 |
-
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 14 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 15 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
| 16 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 17 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 18 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 19 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 20 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 21 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 22 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 23 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 24 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 25 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 26 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 27 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 28 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 29 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 31 |
-
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 32 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 33 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 35 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 36 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 37 |
-
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 38 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 39 |
-
# Audio files - uncompressed
|
| 40 |
-
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 41 |
-
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 42 |
-
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 43 |
-
# Audio files - compressed
|
| 44 |
-
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
-
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 46 |
-
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
-
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 48 |
-
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 49 |
-
# Image files - uncompressed
|
| 50 |
-
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 51 |
-
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 52 |
-
*.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
-
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 54 |
-
# Image files - compressed
|
| 55 |
-
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
-
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 57 |
-
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 58 |
-
# Video files - compressed
|
| 59 |
-
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
-
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MMEB-V3/mscoco_omni/README.md
DELETED
|
@@ -1,16 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-4.0
|
| 3 |
-
---
|
| 4 |
-
#
|
| 5 |
-
**catalog.jsonl** contains the captions and filenames for each image id. There are around 170 text-image-video-audio (omni) tuples in it.
|
| 6 |
-
# How to run
|
| 7 |
-
1. Specify GOOGLE_API_KEY
|
| 8 |
-
2. run the following to get setup ready
|
| 9 |
-
```bash
|
| 10 |
-
bash setup.sh
|
| 11 |
-
```
|
| 12 |
-
3. then only need to run this file only in the future
|
| 13 |
-
```bash
|
| 14 |
-
python geminiAPI.py
|
| 15 |
-
```
|
| 16 |
-
4. If runs successfully, a file called **mscoco_cmret.jsonl** will be generated, please provide this file to me.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MMEB-V3/mscoco_omni/audios.tar.gz
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:2c9e6f5a737cfb84d861a3b6fe409e2a46ec054bdf059b347eb33c10cfbf344e
|
| 3 |
-
size 126042220
|
|
|
|
|
|
|
|
|
|
|
|
MMEB-V3/mscoco_omni/catalog.jsonl
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
MMEB-V3/mscoco_omni/geminiAPI.py
DELETED
|
@@ -1,321 +0,0 @@
|
|
| 1 |
-
from google import genai
|
| 2 |
-
from google.genai import types
|
| 3 |
-
from tqdm import tqdm
|
| 4 |
-
from pycocotools.coco import COCO
|
| 5 |
-
import pandas as pd
|
| 6 |
-
import matplotlib.pyplot as plt
|
| 7 |
-
import time
|
| 8 |
-
import os
|
| 9 |
-
import wave
|
| 10 |
-
import subprocess
|
| 11 |
-
from PIL import Image
|
| 12 |
-
|
| 13 |
-
import time
|
| 14 |
-
from google.genai.errors import ClientError
|
| 15 |
-
|
| 16 |
-
def prRed(s): print("\033[1;31m {}\033[0m".format(s))
|
| 17 |
-
def prGreen(s): print("\033[92m {}\033[00m".format(s))
|
| 18 |
-
def prYellow(s): print("\033[93m {}\033[00m".format(s))
|
| 19 |
-
def prBlue(s): print("\033[94m {}\033[00m".format(s))
|
| 20 |
-
def prOrange(s): print("\033[38;5;214m {}\033[00m".format(s))
|
| 21 |
-
def prPurple(s): print("\033[95m {}\033[00m".format(s))
|
| 22 |
-
def prCyan(s): print("\033[96m {}\033[00m".format(s))
|
| 23 |
-
def prLightGray(s): print("\033[97m {}\033[00m".format(s))
|
| 24 |
-
def prBlack(s): print("\033[90m {}\033[00m".format(s))
|
| 25 |
-
|
| 26 |
-
def get_id_with_filename(file_name):
|
| 27 |
-
img_id = os.path.basename(file_name).split('.')[0]
|
| 28 |
-
img_id = img_id.split('_')[-1]
|
| 29 |
-
return int(img_id)
|
| 30 |
-
|
| 31 |
-
def get_filename_with_id(id, format='jpg'):
|
| 32 |
-
return f'COCO_val2014_{str(id).zfill(12)}.{format}'
|
| 33 |
-
|
| 34 |
-
def plot_grouped_imgs(loi, ncols=5, figsize=(20, 20)):
|
| 35 |
-
nrows = (len(loi) + ncols - 1) // ncols
|
| 36 |
-
fig, axes = plt.subplots(nrows=nrows, ncols=ncols, figsize=figsize)
|
| 37 |
-
for i, img_path in enumerate(loi):
|
| 38 |
-
row = i // ncols
|
| 39 |
-
col = i % ncols
|
| 40 |
-
axes[row, col].imshow(Image.open(img_path))
|
| 41 |
-
axes[row, col].set_title(os.path.basename(img_path))
|
| 42 |
-
axes[row, col].axis('off')
|
| 43 |
-
plt.tight_layout()
|
| 44 |
-
plt.show()
|
| 45 |
-
return fig
|
| 46 |
-
|
| 47 |
-
def generate_video_with_retry(client, image, text, max_retries=20):
|
| 48 |
-
for attempt in range(max_retries):
|
| 49 |
-
prYellow(f'Attempt {attempt} ...')
|
| 50 |
-
try:
|
| 51 |
-
return generate_video_from_image_and_text(client, image, text)
|
| 52 |
-
except ClientError as e:
|
| 53 |
-
if e.code != 429:
|
| 54 |
-
raise
|
| 55 |
-
if attempt < max_retries - 1:
|
| 56 |
-
wait_time = min(2 ** attempt, 64) # Exponential backoff: 1s, 2s, 4s
|
| 57 |
-
prRed(f"Connection error: {e}. Retrying in {wait_time}s... (attempt {attempt + 1}/{max_retries})")
|
| 58 |
-
time.sleep(wait_time)
|
| 59 |
-
else:
|
| 60 |
-
prRed(f"Failed after {max_retries} attempts")
|
| 61 |
-
raise
|
| 62 |
-
|
| 63 |
-
def generate_audio_with_retry(client, text, max_retries=20):
|
| 64 |
-
for attempt in range(max_retries):
|
| 65 |
-
prYellow(f'Attempt {attempt+1} ...')
|
| 66 |
-
try:
|
| 67 |
-
return generate_audio_from_text(client, text)
|
| 68 |
-
except ClientError as e:
|
| 69 |
-
if e.code != 429:
|
| 70 |
-
raise
|
| 71 |
-
if attempt < max_retries - 1:
|
| 72 |
-
wait_time = min(2 ** attempt, 64)
|
| 73 |
-
prRed(f"Connection error: {e}. Retrying in {wait_time}s... (attempt {attempt + 1}/{max_retries})")
|
| 74 |
-
time.sleep(wait_time)
|
| 75 |
-
else:
|
| 76 |
-
prRed(f"Failed after {max_retries} attempts")
|
| 77 |
-
raise
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
def load_image(image_path):
|
| 82 |
-
with open(image_path, "rb") as f:
|
| 83 |
-
image_bytes = f.read()
|
| 84 |
-
return types.Image(mime_type="image/jpeg", image_bytes=image_bytes)
|
| 85 |
-
|
| 86 |
-
def generate_prompt(client, prompt):
|
| 87 |
-
transcript = client.models.generate_content(
|
| 88 |
-
model="gemini-2.5-flash",
|
| 89 |
-
contents="""Generate a short transcript based on the following description: """ + prompt).text
|
| 90 |
-
return transcript
|
| 91 |
-
|
| 92 |
-
def generate_image_from_text(client, text):
|
| 93 |
-
response = client.models.generate_content(
|
| 94 |
-
model="gemini-2.5-flash-image",
|
| 95 |
-
contents=[text],
|
| 96 |
-
config={"response_modalities":['IMAGE']}
|
| 97 |
-
)
|
| 98 |
-
return response.candidates[0].content.parts[0].as_image()
|
| 99 |
-
|
| 100 |
-
def wave_file(filename, pcm, channels=1, rate=24000, sample_width=2):
|
| 101 |
-
"""Save PCM audio data to a .wav file.
|
| 102 |
-
"""
|
| 103 |
-
with wave.open(filename, "wb") as wf:
|
| 104 |
-
wf.setnchannels(channels)
|
| 105 |
-
wf.setsampwidth(sample_width)
|
| 106 |
-
wf.setframerate(rate)
|
| 107 |
-
wf.writeframes(pcm)
|
| 108 |
-
|
| 109 |
-
def generate_audio_from_text(client, text):
|
| 110 |
-
response = client.models.generate_content(
|
| 111 |
-
model="gemini-2.5-flash-preview-tts",
|
| 112 |
-
contents=text,
|
| 113 |
-
config=types.GenerateContentConfig(
|
| 114 |
-
response_modalities=["AUDIO"],
|
| 115 |
-
speech_config=types.SpeechConfig(
|
| 116 |
-
voice_config=types.VoiceConfig(
|
| 117 |
-
prebuilt_voice_config=types.PrebuiltVoiceConfig(
|
| 118 |
-
voice_name='Kore',
|
| 119 |
-
)
|
| 120 |
-
)
|
| 121 |
-
),
|
| 122 |
-
)
|
| 123 |
-
)
|
| 124 |
-
|
| 125 |
-
data = response.candidates[0].content.parts[0].inline_data.data
|
| 126 |
-
return data
|
| 127 |
-
|
| 128 |
-
def generate_video_from_image_and_text(client, image, text):
|
| 129 |
-
operation = client.models.generate_videos(
|
| 130 |
-
model="veo-3.1-fast-generate-preview",
|
| 131 |
-
prompt=text,
|
| 132 |
-
image=image,
|
| 133 |
-
config=types.GenerateVideosConfig(
|
| 134 |
-
aspect_ratio="16:9",
|
| 135 |
-
resolution="720p",
|
| 136 |
-
duration_seconds="8",
|
| 137 |
-
)
|
| 138 |
-
)
|
| 139 |
-
|
| 140 |
-
# Poll the operation status until the video is ready.
|
| 141 |
-
while not operation.done:
|
| 142 |
-
prCyan("Waiting for video generation to complete...")
|
| 143 |
-
time.sleep(10)
|
| 144 |
-
operation = client.operations.get(operation)
|
| 145 |
-
|
| 146 |
-
if operation.result and operation.result.generated_videos:
|
| 147 |
-
generated_video = operation.result.generated_videos[0]
|
| 148 |
-
return generated_video.video
|
| 149 |
-
elif operation.response and operation.response.generated_videos:
|
| 150 |
-
generated_video = operation.response.generated_videos[0]
|
| 151 |
-
return generated_video.video
|
| 152 |
-
else:
|
| 153 |
-
# Handle cases where the model might fail (e.g. safety filters)
|
| 154 |
-
prRed(f"Generation failed: {operation}")
|
| 155 |
-
if not operation.response:
|
| 156 |
-
raise RuntimeError(f"Unknown reasons for {operation} to be None")
|
| 157 |
-
raise RuntimeError(f"Generation failed or was filtered: {operation.response.rai_media_filtered_reasons}")
|
| 158 |
-
|
| 159 |
-
# def main():
|
| 160 |
-
# with open('allowed_ids.json', 'r') as f:
|
| 161 |
-
# allowed_ids = json.load(f)
|
| 162 |
-
|
| 163 |
-
# num = 100
|
| 164 |
-
# data = load_dataset('json', data_files='MSCOCO_t2i_test.jsonl', split='train')
|
| 165 |
-
# data = data.shuffle(seed=42).select(range(num))
|
| 166 |
-
|
| 167 |
-
# client = genai.Client()
|
| 168 |
-
# ttv_prompt_instruct = "Generate a video based on the following image and description: "
|
| 169 |
-
# tts_prompt_instruct = "Read aloud the following sentence in a natural and expressive way, in a warm and friendly tone: "
|
| 170 |
-
|
| 171 |
-
# save_dir = './output/'
|
| 172 |
-
# os.makedirs(save_dir, exist_ok=True)
|
| 173 |
-
|
| 174 |
-
# infos = []
|
| 175 |
-
# for item in tqdm(data):
|
| 176 |
-
# image_path = item['tgt_img_path'][0]
|
| 177 |
-
# save_name = os.path.basename(image_path).split('.')[0]
|
| 178 |
-
# save_name_mp4 = f'{save_name}.mp4'
|
| 179 |
-
# save_name_wav = f'{save_name}.wav'
|
| 180 |
-
# caption = item['qry_text']
|
| 181 |
-
# print(f"Processing {save_name} with caption: {caption}")
|
| 182 |
-
|
| 183 |
-
# if save_name not in allowed_ids:
|
| 184 |
-
# print(f"🛑 {save_name} not in allowed IDs, skipping this item.")
|
| 185 |
-
# continue
|
| 186 |
-
|
| 187 |
-
# existing_objects = list(set([obj.split('.')[0] for obj in os.listdir(save_dir)]))
|
| 188 |
-
# if save_name in existing_objects:
|
| 189 |
-
# continue
|
| 190 |
-
|
| 191 |
-
# image = load_image(os.path.join(data_dir, image_path))
|
| 192 |
-
# try:
|
| 193 |
-
# video_prompt = ttv_prompt_instruct + caption
|
| 194 |
-
# # transcript = generate_prompt(client, video_prompt)
|
| 195 |
-
# # print(f"Generated transcript: {transcript}")
|
| 196 |
-
# video_data = generate_video_from_image_and_text(client, image, video_prompt)
|
| 197 |
-
# video_filename = os.path.join(save_dir, save_name_mp4)
|
| 198 |
-
# client.files.download(file=video_data)
|
| 199 |
-
# video_data.save(video_filename)
|
| 200 |
-
# print(f"Generated video saved to {video_filename}")
|
| 201 |
-
|
| 202 |
-
# audio_prompt = tts_prompt_instruct + caption
|
| 203 |
-
# audio_data = generate_audio_from_text(client, audio_prompt)
|
| 204 |
-
# audio_filename = os.path.join(save_dir, save_name_wav)
|
| 205 |
-
# wave_file(audio_filename, audio_data)
|
| 206 |
-
# print(f"Generated audio saved to {audio_filename}")
|
| 207 |
-
# except (TypeError, RuntimeError) as e:
|
| 208 |
-
# print(f"🛑 Error processing {save_name}: {e}, skipping this item.")
|
| 209 |
-
# continue
|
| 210 |
-
|
| 211 |
-
# # always update negative videos, even if the video already exists
|
| 212 |
-
# raw_neg_objs = [os.path.basename(img_path).split('.')[0] for img_path in item['tgt_img_path'][1:]]
|
| 213 |
-
# neg_obj_list = list(set(raw_neg_objs) & set(existing_objects))
|
| 214 |
-
# infos.append({
|
| 215 |
-
# "id": save_name,
|
| 216 |
-
# "qry_text": caption,
|
| 217 |
-
# "qry_image_path": image_path,
|
| 218 |
-
# "negatives": neg_obj_list,
|
| 219 |
-
# })
|
| 220 |
-
# results = pd.DataFrame(infos)
|
| 221 |
-
# results.to_json('MSCOCO_ti2v.jsonl', orient='records', lines=True)
|
| 222 |
-
# print("✅ All done! Results saved to MSCOCO_ti2v.jsonl")
|
| 223 |
-
|
| 224 |
-
def main():
|
| 225 |
-
coco_caps = COCO("annotations/captions_val2014.json")
|
| 226 |
-
|
| 227 |
-
client = genai.Client()
|
| 228 |
-
ttv_prompt_instruct = "Generate a video based on the following image and description: "
|
| 229 |
-
tts_prompt_instruct = "Read aloud the following sentence in a natural and expressive way, in a warm and friendly tone: "
|
| 230 |
-
|
| 231 |
-
data_dir = 'val2014'
|
| 232 |
-
video_save_dir = 'videos'
|
| 233 |
-
audio_save_dir = 'audios'
|
| 234 |
-
os.makedirs(video_save_dir, exist_ok=True)
|
| 235 |
-
os.makedirs(audio_save_dir, exist_ok=True)
|
| 236 |
-
|
| 237 |
-
infos = pd.read_json('mscoco_cmret_all.jsonl', lines=True)
|
| 238 |
-
infos = infos[['image_id', 'file_name', 'hard_negatives']].set_index('image_id', drop=False)
|
| 239 |
-
records = []
|
| 240 |
-
with open('invalid.log') as f:
|
| 241 |
-
invalids = f.read().splitlines()
|
| 242 |
-
prBlue(f"Invalid ids: {invalids}")
|
| 243 |
-
|
| 244 |
-
for info in tqdm(infos.itertuples(), total=len(infos)):
|
| 245 |
-
image_id = info.image_id
|
| 246 |
-
file_name = info.file_name
|
| 247 |
-
negatives = info.hard_negatives
|
| 248 |
-
|
| 249 |
-
captions = [ann['caption'] for ann in coco_caps.loadAnns(coco_caps.getAnnIds(imgIds=image_id))]
|
| 250 |
-
qry_text = captions[-1] # we use different caption as query text, to make it harder
|
| 251 |
-
|
| 252 |
-
prBlue(f"Processing {file_name}\nQuery text: {qry_text}")
|
| 253 |
-
|
| 254 |
-
image = load_image(os.path.join(data_dir, file_name))
|
| 255 |
-
generated_negatives = []
|
| 256 |
-
for cand_id in tqdm([image_id]+negatives[:10], leave=True, desc="Waiting for API responses ... "):
|
| 257 |
-
if str(cand_id) in invalids:
|
| 258 |
-
prYellow(f"{cand_id} contains restricted content, skipping ... ")
|
| 259 |
-
continue
|
| 260 |
-
|
| 261 |
-
captions = [ann['caption'] for ann in coco_caps.loadAnns(coco_caps.getAnnIds(imgIds=cand_id))]
|
| 262 |
-
caption = captions[0] # use first caption to generate video and audio
|
| 263 |
-
image = load_image(os.path.join(data_dir, get_filename_with_id(cand_id)))
|
| 264 |
-
cand_video_name = get_filename_with_id(cand_id, format='mp4')
|
| 265 |
-
cand_audio_name = get_filename_with_id(cand_id, format='wav')
|
| 266 |
-
|
| 267 |
-
try:
|
| 268 |
-
video_save_path = os.path.join(video_save_dir, cand_video_name)
|
| 269 |
-
if os.path.exists(video_save_path):
|
| 270 |
-
prGreen(f"Video {cand_id} already exists, skipping generation.")
|
| 271 |
-
else:
|
| 272 |
-
prYellow(f"Generating video ...Caption: {caption}")
|
| 273 |
-
video_prompt = ttv_prompt_instruct + caption
|
| 274 |
-
video_data = generate_video_with_retry(client, image, video_prompt, max_retries=20) # change max_retries if needed
|
| 275 |
-
client.files.download(file=video_data)
|
| 276 |
-
video_data.save(video_save_path)
|
| 277 |
-
prGreen(f"Generated video saved to {video_save_path}")
|
| 278 |
-
|
| 279 |
-
audio_save_path = os.path.join(audio_save_dir, cand_audio_name)
|
| 280 |
-
if os.path.exists(audio_save_path):
|
| 281 |
-
prGreen(f"Audio {cand_id} already exists, skipping generation.")
|
| 282 |
-
else:
|
| 283 |
-
prYellow(f"Generating audio ...Caption: {caption}")
|
| 284 |
-
audio_prompt = tts_prompt_instruct + caption
|
| 285 |
-
audio_data = generate_audio_with_retry(client, audio_prompt, max_retries=20) # change max_retries if needed
|
| 286 |
-
wave_file(audio_save_path, audio_data)
|
| 287 |
-
prGreen(f"Generated audio saved to {audio_save_path}")
|
| 288 |
-
generated_negatives.append(cand_id)
|
| 289 |
-
|
| 290 |
-
|
| 291 |
-
except (TypeError, RuntimeError) as e:
|
| 292 |
-
invalids.append(cand_id)
|
| 293 |
-
with open('invalid.log', 'a') as f:
|
| 294 |
-
f.write(f'{cand_id}\n')
|
| 295 |
-
prRed(f"🛑 Error processing {cand_video_name}: {e}, skipping this item.")
|
| 296 |
-
continue
|
| 297 |
-
|
| 298 |
-
records.append({
|
| 299 |
-
"image_id": image_id,
|
| 300 |
-
"qry_text": qry_text,
|
| 301 |
-
"hard_negatives": [idx for idx in generated_negatives if idx != image_id]
|
| 302 |
-
})
|
| 303 |
-
records = pd.DataFrame(records)
|
| 304 |
-
records.to_json('mscoco_cmret.jsonl', orient='records', lines=True)
|
| 305 |
-
|
| 306 |
-
if __name__ == "__main__":
|
| 307 |
-
if not os.path.exists("annotations/instances_val2014.json"):
|
| 308 |
-
subprocess.run(["wget", "http://images.cocodataset.org/annotations/annotations_trainval2014.zip"])
|
| 309 |
-
subprocess.run(["unzip", "annotations_trainval2014.zip", "-d", "annotations"])
|
| 310 |
-
subprocess.run(["rm", "annotations_trainval2014.zip"])
|
| 311 |
-
subprocess.run(["wget", "http://images.cocodataset.org/zips/val2014.zip"])
|
| 312 |
-
subprocess.run(["unzip", "val2014.zip", "-d", "."])
|
| 313 |
-
subprocess.run(["rm", "val2014.zip"])
|
| 314 |
-
main()
|
| 315 |
-
# client = genai.Client()
|
| 316 |
-
# video = generate_video_with_retry(client, load_image('val2014/COCO_val2014_000000176744.jpg'), "Generate a video based on the following image and description: Croweded area on the beach with many kites being flown in the air.")
|
| 317 |
-
# client.files.download(file=video)
|
| 318 |
-
# video.save('mscoco_omini/COCO_val2014_000000176744.mp4')
|
| 319 |
-
|
| 320 |
-
# audio = generate_audio_with_retry(client, "Read aloud the following sentence in a natural and expressive way, in a warm and friendly tone: Croweded area on the beach with many kites being flown in the air.")
|
| 321 |
-
# wave_file('mscoco_omini/COCO_val2014_000000176744.wav', audio)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MMEB-V3/mscoco_omni/invalid.log
DELETED
|
@@ -1,132 +0,0 @@
|
|
| 1 |
-
60623
|
| 2 |
-
60623
|
| 3 |
-
180751
|
| 4 |
-
195645
|
| 5 |
-
367398
|
| 6 |
-
484351
|
| 7 |
-
400538
|
| 8 |
-
190494
|
| 9 |
-
432317
|
| 10 |
-
95702
|
| 11 |
-
548713
|
| 12 |
-
463290
|
| 13 |
-
68277
|
| 14 |
-
60623
|
| 15 |
-
484351
|
| 16 |
-
190494
|
| 17 |
-
432317
|
| 18 |
-
463290
|
| 19 |
-
68277
|
| 20 |
-
531335
|
| 21 |
-
279561
|
| 22 |
-
376177
|
| 23 |
-
63906
|
| 24 |
-
203085
|
| 25 |
-
160556
|
| 26 |
-
449981
|
| 27 |
-
5802
|
| 28 |
-
50514
|
| 29 |
-
16599
|
| 30 |
-
571786
|
| 31 |
-
207180
|
| 32 |
-
517617
|
| 33 |
-
74603
|
| 34 |
-
210204
|
| 35 |
-
342051
|
| 36 |
-
274451
|
| 37 |
-
63040
|
| 38 |
-
468162
|
| 39 |
-
569839
|
| 40 |
-
400538
|
| 41 |
-
294698
|
| 42 |
-
279138
|
| 43 |
-
46433
|
| 44 |
-
223874
|
| 45 |
-
57597
|
| 46 |
-
154816
|
| 47 |
-
101636
|
| 48 |
-
154721
|
| 49 |
-
12754
|
| 50 |
-
69577
|
| 51 |
-
547013
|
| 52 |
-
468162
|
| 53 |
-
435807
|
| 54 |
-
552832
|
| 55 |
-
218891
|
| 56 |
-
331386
|
| 57 |
-
151704
|
| 58 |
-
494144
|
| 59 |
-
118432
|
| 60 |
-
176744
|
| 61 |
-
318671
|
| 62 |
-
199346
|
| 63 |
-
102349
|
| 64 |
-
212116
|
| 65 |
-
381971
|
| 66 |
-
41020
|
| 67 |
-
462466
|
| 68 |
-
270810
|
| 69 |
-
311374
|
| 70 |
-
210777
|
| 71 |
-
289938
|
| 72 |
-
159402
|
| 73 |
-
570579
|
| 74 |
-
17267
|
| 75 |
-
17267
|
| 76 |
-
499577
|
| 77 |
-
388237
|
| 78 |
-
100604
|
| 79 |
-
556462
|
| 80 |
-
541010
|
| 81 |
-
317595
|
| 82 |
-
336182
|
| 83 |
-
33802
|
| 84 |
-
388325
|
| 85 |
-
333058
|
| 86 |
-
553442
|
| 87 |
-
314154
|
| 88 |
-
381971
|
| 89 |
-
518249
|
| 90 |
-
368280
|
| 91 |
-
518163
|
| 92 |
-
171382
|
| 93 |
-
301305
|
| 94 |
-
490022
|
| 95 |
-
317479
|
| 96 |
-
243955
|
| 97 |
-
406899
|
| 98 |
-
340894
|
| 99 |
-
4916
|
| 100 |
-
375278
|
| 101 |
-
472143
|
| 102 |
-
353807
|
| 103 |
-
369685
|
| 104 |
-
381971
|
| 105 |
-
544611
|
| 106 |
-
342128
|
| 107 |
-
231508
|
| 108 |
-
306335
|
| 109 |
-
97809
|
| 110 |
-
368280
|
| 111 |
-
465223
|
| 112 |
-
112664
|
| 113 |
-
65227
|
| 114 |
-
231240
|
| 115 |
-
360595
|
| 116 |
-
357493
|
| 117 |
-
355256
|
| 118 |
-
74135
|
| 119 |
-
413900
|
| 120 |
-
227440
|
| 121 |
-
356248
|
| 122 |
-
181836
|
| 123 |
-
222548
|
| 124 |
-
468405
|
| 125 |
-
553912
|
| 126 |
-
38829
|
| 127 |
-
7274
|
| 128 |
-
177489
|
| 129 |
-
302318
|
| 130 |
-
47570
|
| 131 |
-
240950
|
| 132 |
-
472143
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MMEB-V3/mscoco_omni/mscoco_cmret_all.jsonl
DELETED
|
@@ -1,113 +0,0 @@
|
|
| 1 |
-
{"image_id":2295,"file_name":"COCO_val2014_000000002295.jpg","objects":["bowl","dining table","cat"],"hard_negatives":[347113,99269,554291,183967,157876,40414,397133,60623,374628,19358,452684,350341,309852,26942,383406,311553,280819,269089]}
|
| 2 |
-
{"image_id":3067,"file_name":"COCO_val2014_000000003067.jpg","objects":["sandwich","apple","cat"],"hard_negatives":[715,339442,229191,425526,411832,563723,254838,360209,21161,566644,374628]}
|
| 3 |
-
{"image_id":11291,"file_name":"COCO_val2014_000000011291.jpg","objects":["tv","person","wine glass","bottle"],"hard_negatives":[300403,123677,242051,180751,209530,33052,502671,273329,225913,263323,137260,480000,368402,203849,195645,31442,363840,367398]}
|
| 4 |
-
{"image_id":17182,"file_name":"COCO_val2014_000000017182.jpg","objects":["chair","book","apple"],"hard_negatives":[451468,177496,248919,156278,484351,303626,208995,374628,386912,165547,472795,26942,280819,143975,362373,65267,436470,400538,38034]}
|
| 5 |
-
{"image_id":18046,"file_name":"COCO_val2014_000000018046.jpg","objects":["bus","horse"],"hard_negatives":[367680,23201,301937,26201,237326,190494,427655,224104,454798,432317,436127,95702,228477,122871,313718,395634,495117,548713,138246,37675]}
|
| 6 |
-
{"image_id":19589,"file_name":"COCO_val2014_000000019589.jpg","objects":["book","bottle","vase","bowl","chair","couch"],"hard_negatives":[65267,463290,314757,366096,143247,445009,173434,491856,528062,303006,497444,292169,370899,267135,33052,471816,498489,185614]}
|
| 7 |
-
{"image_id":19888,"file_name":"COCO_val2014_000000019888.jpg","objects":["teddy bear","bed","bicycle"],"hard_negatives":[27235,113403,65443,68277,140908,456261,456323,341957,372009,531335,29793,333691,176363,274687,134882,546896,322620,225198]}
|
| 8 |
-
{"image_id":23201,"file_name":"COCO_val2014_000000023201.jpg","objects":["bus","person","backpack","traffic light","horse"],"hard_negatives":[34786,284445,314986,431023,15663,54025,373353,451623,88225,224104,398246,371139,331386,320482,176037,431876,383112,172478,323528,225792]}
|
| 9 |
-
{"image_id":30668,"file_name":"COCO_val2014_000000030668.jpg","objects":["person","horse","bird"],"hard_negatives":[296523,37675,527040,155885,456496,246809,247306,122934,579815,307569,181962,360661,353807,248468,444444,318671,16574,300814]}
|
| 10 |
-
{"image_id":34582,"file_name":"COCO_val2014_000000034582.jpg","objects":["oven","cake","bowl","sandwich"],"hard_negatives":[182611,201925,185698,51376,232115,574837,330954,271620,231822,286146,282711,429811]}
|
| 11 |
-
{"image_id":35498,"file_name":"COCO_val2014_000000035498.jpg","objects":["mouse","sink"],"hard_negatives":[547639,279561,522418,397133,309022,193271,403013,374628,37777,368402,542145,403385,579003,540186,242611,51191,294832,144941,111076,340559]}
|
| 12 |
-
{"image_id":36196,"file_name":"COCO_val2014_000000036196.jpg","objects":["person","airplane"],"hard_negatives":[513681,376177,101088,158801,526711,442480,227940,54344,99054,373846,436456,371330,179415,457054,134886,545250,493286]}
|
| 13 |
-
{"image_id":41603,"file_name":"COCO_val2014_000000041603.jpg","objects":["car","boat","surfboard","person"],"hard_negatives":[66423,312237,63906,5105,71385,451008,579635,205720,31699,125314,74241,429924,543551,400431,414934]}
|
| 14 |
-
{"image_id":42889,"file_name":"COCO_val2014_000000042889.jpg","objects":["keyboard","teddy bear"],"hard_negatives":[346207,371677,203085,160556,292792,426205,135914,453341,386912,250108,383406,13383,557981,185768,313155,132001]}
|
| 15 |
-
{"image_id":44165,"file_name":"COCO_val2014_000000044165.jpg","objects":["person","elephant","bottle"],"hard_negatives":[449981,470932,357354,369037,397133,5802,222564,337264,368402,412151,111076,394240,327807,182784,109819,242499,511204,260166,451872,14990]}
|
| 16 |
-
{"image_id":50514,"file_name":"COCO_val2014_000000050514.jpg","objects":["bench","person","clock","bird"],"hard_negatives":[16599,129159,12547,427113,207180,127259,387328,533069,109361,249325,395801,46526,359791,111099,321476,569543,316031,38540,477435,274939]}
|
| 17 |
-
{"image_id":51355,"file_name":"COCO_val2014_000000051355.jpg","objects":["oven","bottle","pizza","cup","cake","bowl","knife","sink"],"hard_negatives":[397133,368402,535506,74603,176330,210204,170178,423116,214046,527260,524656,570659,65358,320703,307564,106392]}
|
| 18 |
-
{"image_id":54039,"file_name":"COCO_val2014_000000054039.jpg","objects":["skateboard","bus","truck","car","person","traffic light","motorcycle"],"hard_negatives":[109819,553879,460147,559730,373060,44801,142585,172478,578962,519784,243825,134537,321516,220690,231402,508985,285651,309492,133327]}
|
| 19 |
-
{"image_id":63040,"file_name":"COCO_val2014_000000063040.jpg","objects":["book","person","dog","tv","chair"],"hard_negatives":[468162,366884,482242,386912,400538,52132,132067,279138,285558,51628,97561,139917,91406,453824,151704,33835,189588,80714,538721]}
|
| 20 |
-
{"image_id":67078,"file_name":"COCO_val2014_000000067078.jpg","objects":["person","clock","book","motorcycle"],"hard_negatives":[48044,52132,285558,51628,46433,579226,530520,334399,139169,154721,93437,497438,569543,115060,247477,399545,228418,469896,108898,494913]}
|
| 21 |
-
{"image_id":73521,"file_name":"COCO_val2014_000000073521.jpg","objects":["chair","handbag","suitcase"],"hard_negatives":[178175,137861,94678,57359,22118,455937,218891,331386,313922,261318,133210,342060,487438,115245,467988,553442,314154]}
|
| 22 |
-
{"image_id":79686,"file_name":"COCO_val2014_000000079686.jpg","objects":["dining table","chair","bowl","book"],"hard_negatives":[280819,300324,286182,309005,486114,438497,71023,353317,203661,248919,76518,570456,370899,267135,220221,91883]}
|
| 23 |
-
{"image_id":80130,"file_name":"COCO_val2014_000000080130.jpg","objects":["train","suitcase","person"],"hard_negatives":[503585,52066,270810,533069,558794,188044,223019,159402,517417,548164,161231,107800,155449,231691,137727,86472,227433,276596,577924,501824]}
|
| 24 |
-
{"image_id":86877,"file_name":"COCO_val2014_000000086877.jpg","objects":["oven","broccoli","cake"],"hard_negatives":[397133,144200,400139,201925,69577,550643,512416,313176,149284,341132,192458,13991,271759,385181,446354,251892,134815,146503,273442]}
|
| 25 |
-
{"image_id":86988,"file_name":"COCO_val2014_000000086988.jpg","objects":["person","tennis racket","truck","bicycle"],"hard_negatives":[17267,495626,418711,499577,10393,309993,420081,447991,352476,74058,1722,447119,70815,142718,449638,553912,429924,468405,353836]}
|
| 26 |
-
{"image_id":89648,"file_name":"COCO_val2014_000000089648.jpg","objects":["cell phone","book","person","laptop","backpack","chair"],"hard_negatives":[129784,574424,53058,404944,538721,278822,187001,20935,116405,297180,315742,153460,319579,579648,44054,424683]}
|
| 27 |
-
{"image_id":90753,"file_name":"COCO_val2014_000000090753.jpg","objects":["bowl","book","vase"],"hard_negatives":[472621,65267,309005,409855,491856,91326,509824,257685,292169,370899,267135,463134,529568,24061,523978,279149,512576,34445]}
|
| 28 |
-
{"image_id":98674,"file_name":"COCO_val2014_000000098674.jpg","objects":["apple","bird"],"hard_negatives":[12754,407825,374628,462341,527040,350341,163020,155885,121041,8665,573291,161470,564563,373591,456496,15113,271032,134778,41888,49633]}
|
| 29 |
-
{"image_id":100604,"file_name":"COCO_val2014_000000100604.jpg","objects":["potted plant","chair","dining table","teddy bear"],"hard_negatives":[5965,143483,33802,37777,388325,451468,340175,436470,578500,145199,389624,214720,261062,437049,173464,96107,42492,256630]}
|
| 30 |
-
{"image_id":103806,"file_name":"COCO_val2014_000000103806.jpg","objects":["oven","cat","microwave","refrigerator","knife","sink"],"hard_negatives":[186980,127182,207196,149184,48905,325239,524656,320703,261175,91263,231450,511430,85803,403013,374628,368402,40986,347113,535506]}
|
| 31 |
-
{"image_id":109819,"file_name":"COCO_val2014_000000109819.jpg","objects":["bus","elephant","truck","car","person","motorcycle","traffic light"],"hard_negatives":[553879,460147,373060,44801,142585,54039,172478,578962,519784,134537,321516,319345,220690,508985,309492,9286,171695,450728,34786]}
|
| 32 |
-
{"image_id":110392,"file_name":"COCO_val2014_000000110392.jpg","objects":["cell phone","bench","car","person","handbag","traffic light"],"hard_negatives":[447991,349101,518249,289870,239656,431023,362714,398246,384152,171382,450500,249720,413044,301135,17267,220690,495626,137451]}
|
| 33 |
-
{"image_id":113139,"file_name":"COCO_val2014_000000113139.jpg","objects":["wine glass","bottle","dining table","cup","chair"],"hard_negatives":[145199,555904,301305,247839,479613,308487,32901,313341,277991,297084,419974,150763,505862,519558,504790,490441,458137]}
|
| 34 |
-
{"image_id":118966,"file_name":"COCO_val2014_000000118966.jpg","objects":["potted plant","bed","frisbee","person","tv","chair"],"hard_negatives":[132067,448076,365626,51628,97561,181591,4916,133876,472364,120535,430265,483001,319935,413900,222430,449661,516867,295693]}
|
| 35 |
-
{"image_id":123585,"file_name":"COCO_val2014_000000123585.jpg","objects":["fork","bird"],"hard_negatives":[472143,193271,462341,527040,350341,163020,155885,121041,8665,573291,161470,564563,373591,456496,15113,271032,134778,41888,49633]}
|
| 36 |
-
{"image_id":133476,"file_name":"COCO_val2014_000000133476.jpg","objects":["wine glass","dining table","cup","sandwich"],"hard_negatives":[39659,536654,412464,568426,37655,573300,369685,504790,132272,147545,163540,47837,187776,179720,191342,208748,402802,155465,70048,403038]}
|
| 37 |
-
{"image_id":136250,"file_name":"COCO_val2014_000000136250.jpg","objects":["bottle","cat","remote","person","bowl"],"hard_negatives":[217546,91500,322163,295693,271620,40414,15140,50811,489235,97809,74638,397133,5802,337264,368402,327807,182784,383406,280819,168909]}
|
| 38 |
-
{"image_id":137727,"file_name":"COCO_val2014_000000137727.jpg","objects":["train","person","car","suitcase","handbag","backpack"],"hard_negatives":[200668,503585,558794,223019,368280,107800,155449,231691,330053,276596,501824,227399,296797,320482,432378,509028,234889,82812]}
|
| 39 |
-
{"image_id":153901,"file_name":"COCO_val2014_000000153901.jpg","objects":["wine glass","oven"],"hard_negatives":[193271,368402,186980,308730,535506,251920,545734,47882,510707,219437,419974,298629,404257,195271,7574,176330,76176,214046,541837,164]}
|
| 40 |
-
{"image_id":158118,"file_name":"COCO_val2014_000000158118.jpg","objects":["car","bus","person"],"hard_negatives":[303818,109819,367680,278848,97249,220690,485887,357493,114673,573962,392722,61938,185943,508985,282658,451944,383053,9286,171464,352476]}
|
| 41 |
-
{"image_id":158333,"file_name":"COCO_val2014_000000158333.jpg","objects":["bowl","cup","orange"],"hard_negatives":[368402,452684,168909,467314,509807,511111,437789,35368,199133,550702,105040,346752,191054,402514,211177,569926,245874,529102,335690,34212]}
|
| 42 |
-
{"image_id":171360,"file_name":"COCO_val2014_000000171360.jpg","objects":["potted plant","dining table","person","motorcycle","chair"],"hard_negatives":[214720,42492,256630,295599,181591,120535,351810,413900,227440,356248,5965,369986,318361,20788,422836,497438]}
|
| 43 |
-
{"image_id":181836,"file_name":"COCO_val2014_000000181836.jpg","objects":["person","handbag","truck","tie"],"hard_negatives":[239656,53677,222548,286583,533480,364009,256906,452700,54088,529917,530207,17267,495626,464857,199346,314112,231402,529041,385196,209347]}
|
| 44 |
-
{"image_id":184667,"file_name":"COCO_val2014_000000184667.jpg","objects":["truck","car","traffic light","motorcycle","clock"],"hard_negatives":[373060,232262,109819,309492,107247,468115,468405,460147,540101]}
|
| 45 |
-
{"image_id":186175,"file_name":"COCO_val2014_000000186175.jpg","objects":["person","backpack","truck","car"],"hard_negatives":[57597,10393,282658,341645,422432,56070,408449,449638,553912,63650,34786,429924,393647,237568,314986,356394,390368,199883,239656,521995]}
|
| 46 |
-
{"image_id":187286,"file_name":"COCO_val2014_000000187286.jpg","objects":["bicycle","train","person","traffic light","motorcycle","backpack"],"hard_negatives":[226417,227399,76547,122166,331289,249720,356387,137451,38829,361103,533069,445603,31092,553912]}
|
| 47 |
-
{"image_id":191580,"file_name":"COCO_val2014_000000191580.jpg","objects":["sandwich","fork","bottle","dining table","chair","broccoli","knife"],"hard_negatives":[556462,581205,277991,231822,47570,307564,240950,233830,353435,208132,170729,531798,70865,193565,487159,510657,69577,535993,506441]}
|
| 48 |
-
{"image_id":199641,"file_name":"COCO_val2014_000000199641.jpg","objects":["potted plant","dog","frisbee"],"hard_negatives":[47724,143824,429580,185250,293554,88784,48731,477111,556817,101567,347950,427986,206417,56701,279138,553721,292266,265433,240137,457575]}
|
| 49 |
-
{"image_id":203370,"file_name":"COCO_val2014_000000203370.jpg","objects":["bus","bench","person","handbag","clock"],"hard_negatives":[233771,207180,395801,463084,38540,274939,171915,134596,170784,373060,399595,155401,28114,356358,323827,480075,16599,137699,176374,239837]}
|
| 50 |
-
{"image_id":203389,"file_name":"COCO_val2014_000000203389.jpg","objects":["person","backpack","motorcycle"],"hard_negatives":[356387,38829,179151,27642,92093,56070,445603,31092,359851,530520,226417,115370,237568,187286,19624,470932,199883,185904,205002,291791]}
|
| 51 |
-
{"image_id":207844,"file_name":"COCO_val2014_000000207844.jpg","objects":["book","cup","person","chair","umbrella"],"hard_negatives":[398992,472795,421010,527102,53058,286553,411303,463290,258734,399570,480663,80714,281601,415646,248591,508339,93437,497438,485483]}
|
| 52 |
-
{"image_id":223789,"file_name":"COCO_val2014_000000223789.jpg","objects":["bottle","sink"],"hard_negatives":[397133,309022,193271,368402,542145,192440,410533,392915,73861,55375,40986,137118,463610,463837,415841,308730,96107]}
|
| 53 |
-
{"image_id":229383,"file_name":"COCO_val2014_000000229383.jpg","objects":["person","cell phone","handbag"],"hard_negatives":[208517,129784,160480,361103,226147,209347,414289,504732,151000,7256,447991,107741,242208,192806,436456,334555,390292,349101,385580]}
|
| 54 |
-
{"image_id":233005,"file_name":"COCO_val2014_000000233005.jpg","objects":["person","bench","cat"],"hard_negatives":[381721,412807,228683,379210,22129,522713,334321,235302,338948,249720,529917,485709,34180,349860,413044]}
|
| 55 |
-
{"image_id":237920,"file_name":"COCO_val2014_000000237920.jpg","objects":["chair","bench"],"hard_negatives":[374628,165547,451468,340175,510657,121506,231508,306335,435937,109869,154816,97048,333440,225352,533069,221547,464087,481390,421865]}
|
| 56 |
-
{"image_id":240940,"file_name":"COCO_val2014_000000240940.jpg","objects":["book","cat","car","tv","refrigerator"],"hard_negatives":[346207,78741,137861,77396,33270,295693,14285,494913,301014,121112,516408,71283,93894,201727,503294,199688,561393]}
|
| 57 |
-
{"image_id":242222,"file_name":"COCO_val2014_000000242222.jpg","objects":["bench","car","person","backpack","motorcycle"],"hard_negatives":[249720,57597,301135,179151,154816,27642,445603,543347,449638,359851,226417,237568,16977,538364,19624,264599,199883,205002]}
|
| 58 |
-
{"image_id":246876,"file_name":"COCO_val2014_000000246876.jpg","objects":["person","handbag","giraffe","backpack"],"hard_negatives":[334321,303818,554348,318671,173704,301135,530207,18783,503585,350966,137451,440110,97967,238691,119939,129784,412894,127259,361103,392722]}
|
| 59 |
-
{"image_id":248400,"file_name":"COCO_val2014_000000248400.jpg","objects":["bowl","person","potted plant","pizza"],"hard_negatives":[322163,283060,571038,461256,437049,316438,164330,466565,393511,141821,71136,36936,4312,408906,207886,181591,156076,544794]}
|
| 60 |
-
{"image_id":248427,"file_name":"COCO_val2014_000000248427.jpg","objects":["bottle","person","handbag","traffic light","umbrella"],"hard_negatives":[12946,252219,137451,270672,332221,207611,96762,214363,277991,534428,284286,428336,263177,509037,286583,577932,97539,427401,540498,34930]}
|
| 61 |
-
{"image_id":250953,"file_name":"COCO_val2014_000000250953.jpg","objects":["car","person","backpack","traffic light","kite"],"hard_negatives":[249720,352194,457691,137451,292170,113408,359851,553912,63650,83283,34786,226417,284445,314986,356394,390368,199883,205002,93476,483165]}
|
| 62 |
-
{"image_id":251119,"file_name":"COCO_val2014_000000251119.jpg","objects":["hot dog","sandwich"],"hard_negatives":[173704,557780,317595,715,215787,378655,118367,548550,409627,330237,810,91779,335047,495388,248920,191724,175082]}
|
| 63 |
-
{"image_id":252468,"file_name":"COCO_val2014_000000252468.jpg","objects":["person","bench","book"],"hard_negatives":[420339,451345,569543,497674,281534,269058,69000,380828,91336,134178,328,406500,402206,365068,190829,80185,433547,147058,216581,539883]}
|
| 64 |
-
{"image_id":253579,"file_name":"COCO_val2014_000000253579.jpg","objects":["oven","dining table","cup","person","bowl"],"hard_negatives":[397133,191054,74603,52996,290750,337662,336171,12754,182611,279491,142386,146078,397354,225913,436273,64196,374628,368402,527040]}
|
| 65 |
-
{"image_id":255158,"file_name":"COCO_val2014_000000255158.jpg","objects":["person","handbag","car","bicycle"],"hard_negatives":[301135,18783,17267,495626,137451,451944,447991,74058,476841,226417,192128,195510,210883,138639,199883,534428,239656,393578,241291,27441]}
|
| 66 |
-
{"image_id":261318,"file_name":"COCO_val2014_000000261318.jpg","objects":["cell phone","person","handbag","suitcase","chair"],"hard_negatives":[22118,133210,400538,208517,129784,160480,226147,574424,53058,242208,385580,402795,303264,112362,236762,20935,170784,133869]}
|
| 67 |
-
{"image_id":261981,"file_name":"COCO_val2014_000000261981.jpg","objects":["bed","tie","cat"],"hard_negatives":[324383,546702,239347,27235,543566,346112,216548,12443,12085,291490,179191,86215,223747,132578,262626,498856,522813,290843,94021,291541]}
|
| 68 |
-
{"image_id":264619,"file_name":"COCO_val2014_000000264619.jpg","objects":["person","surfboard","kite"],"hard_negatives":[312237,416308,273232,560879,309573,37038,515445,143541,284350,146193,467477,172327,153570,165133,66423,63154,476280,1369]}
|
| 69 |
-
{"image_id":269098,"file_name":"COCO_val2014_000000269098.jpg","objects":["teddy bear","person","couch","book"],"hard_negatives":[559778,546444,551791,117310,422700,185768,334007,68277,56701,279138,285558,525682,138965,268856,36936,468162,95249,410101]}
|
| 70 |
-
{"image_id":271359,"file_name":"COCO_val2014_000000271359.jpg","objects":["orange","person","dog","motorcycle","cow"],"hard_negatives":[437609,251752,205573,40497,445603,495357,142718,343504,82338,183166,174871,390348,199252,72514,321683,337133,573896,276719,430245]}
|
| 71 |
-
{"image_id":276057,"file_name":"COCO_val2014_000000276057.jpg","objects":["mouse","cell phone","bed","bottle","person","laptop"],"hard_negatives":[39211,171603,88436,154202,363840,578861,185781,9527,57403,258734,486457,238488,158222,51054,437564,278822,531784,325838,507782]}
|
| 72 |
-
{"image_id":284286,"file_name":"COCO_val2014_000000284286.jpg","objects":["person","handbag","umbrella","bottle"],"hard_negatives":[270672,277991,248427,428336,509037,12946,289938,103904,265677,578441,483027,293895,540414,252219,394240,233771,301867,449981,280819,336182]}
|
| 73 |
-
{"image_id":290355,"file_name":"COCO_val2014_000000290355.jpg","objects":["dog","bottle"],"hard_negatives":[158497,210012,494869,562645,139917,279331,463290,299688,282134,419974,385997,61471,382717,64868,350851,123964,564301,290750,264660]}
|
| 74 |
-
{"image_id":291460,"file_name":"COCO_val2014_000000291460.jpg","objects":["person","bottle","clock","pizza"],"hard_negatives":[213809,337264,353807,182245,53015,193565,510657,31442,230780,547079,474167,378614,141821,71136,193547,65655,108051,286553,36494,253835]}
|
| 75 |
-
{"image_id":294783,"file_name":"COCO_val2014_000000294783.jpg","objects":["bed","book","suitcase","backpack","couch","clock"],"hard_negatives":[203128,178690,415646,57359,21645,370478,356380,117788,455937,309633,487438,572734,324383,154202,267643,285558,202797,51628,302789,113701]}
|
| 76 |
-
{"image_id":297299,"file_name":"COCO_val2014_000000297299.jpg","objects":["bicycle","bottle","car","person","tie"],"hard_negatives":[485887,193547,353836,239656,483165,564276,12946,357354,144992,452700,544278,412151,249720,182784,353807,301135,18783,465692,279024]}
|
| 77 |
-
{"image_id":298622,"file_name":"COCO_val2014_000000298622.jpg","objects":["keyboard","remote","mouse"],"hard_negatives":[21503,32362,411277,99937,56344,189588,489645,213538,340155,114187,301421,105538,210736,19544,195538,526321,75285,174511,209299,176257]}
|
| 78 |
-
{"image_id":300142,"file_name":"COCO_val2014_000000300142.jpg","objects":["chair","cell phone","refrigerator","person"],"hard_negatives":[42492,187001,424683,303626,30347,514083,177941,400538,354540,421010,376959,31442,227359,129784,160480,278365,327864,226147,89648]}
|
| 79 |
-
{"image_id":302318,"file_name":"COCO_val2014_000000302318.jpg","objects":["car","bench","person","bird"],"hard_negatives":[88225,511076,16599,302842,472143,249720,349860,413044,45864,489023,57597,12547,301135,465692,279024,231508,360447,241124,127259]}
|
| 80 |
-
{"image_id":307262,"file_name":"COCO_val2014_000000307262.jpg","objects":["fork","bottle","bowl","pizza"],"hard_negatives":[71136,156076,312192,422516,225603,210204,437412,7274,535569,177489,213809,67833,355430,283060,170729,385029,193271,182245,193565,577858]}
|
| 81 |
-
{"image_id":307564,"file_name":"COCO_val2014_000000307564.jpg","objects":["potted plant","oven","spoon","bottle","fork","dining table","cup","vase","banana","bowl","chair","broccoli","knife","sink"],"hard_negatives":[124004,74603,397133,96107,581205,491098,277991,262093,519558,290750,345400,575970,415218,146078,531798,219291,550864,225913,576222]}
|
| 82 |
-
{"image_id":315641,"file_name":"COCO_val2014_000000315641.jpg","objects":["refrigerator","person","knife","donut"],"hard_negatives":[368402,40986,313246,117089,355256,363666,74135,218205,255322,139856,52996,255248,35525,214046,325239,358302,93894,92053,156320]}
|
| 83 |
-
{"image_id":324158,"file_name":"COCO_val2014_000000324158.jpg","objects":["car","dog","person","skateboard"],"hard_negatives":[231240,360595,227227,406404,352194,472854,347170,349860,234572,41369,514083,18783,261982,4275,551957,492914,525619,413349,285651]}
|
| 84 |
-
{"image_id":334321,"file_name":"COCO_val2014_000000334321.jpg","objects":["person","bench","handbag","tie"],"hard_negatives":[385196,67537,239656,465223,112664,261721,235302,65227,413044,195645,12547,301135,530207,273132,464857,440110,119939,314112,207180]}
|
| 85 |
-
{"image_id":342128,"file_name":"COCO_val2014_000000342128.jpg","objects":["bench","person","car","chair","tennis racket"],"hard_negatives":[231508,306335,154816,97048,333440,410880,295956,289842,569543,127270,465223,443784,100344,448181,506707,285967,290282,472143,26026]}
|
| 86 |
-
{"image_id":343496,"file_name":"COCO_val2014_000000343496.jpg","objects":["fire hydrant","stop sign","car","person","handbag"],"hard_negatives":[127092,381971,330053,341645,38048,96762,226417,417779,544611,205002,274939,187349,328836,539259,83844,14392,175244,358817,441854,27441]}
|
| 87 |
-
{"image_id":349575,"file_name":"COCO_val2014_000000349575.jpg","objects":["car","clock","fire hydrant"],"hard_negatives":[234910,395865,29913,332654,353807,457691,28377,559442,485887,168434,261026,324492,338560,511002,413349,94248,184667,169226]}
|
| 88 |
-
{"image_id":352080,"file_name":"COCO_val2014_000000352080.jpg","objects":["suitcase","book"],"hard_negatives":[443303,267643,202797,53058,375278,456323,177496,137861,158222,571835,518163,381555,57359,567657,441995,366884,14428,551791]}
|
| 89 |
-
{"image_id":363840,"file_name":"COCO_val2014_000000363840.jpg","objects":["mouse","keyboard","bottle","person","handbag","laptop","tv","chair"],"hard_negatives":[486457,530706,20935,88436,315603,39211,238488,222430,340894,93894,111341,75285,267932,91617,158384]}
|
| 90 |
-
{"image_id":365208,"file_name":"COCO_val2014_000000365208.jpg","objects":["chair","handbag","person","umbrella"],"hard_negatives":[40497,74058,480663,317479,205253,243955,22118,406899,133869,419216,72839,378962,552364,218891,150224]}
|
| 91 |
-
{"image_id":373945,"file_name":"COCO_val2014_000000373945.jpg","objects":["oven","pizza","person","chair","knife","sink"],"hard_negatives":[341132,74603,571038,397133,368402,177941,193565,510657,73861,40986,186980,42492,154193,193547,286553,91406,449567]}
|
| 92 |
-
{"image_id":376891,"file_name":"COCO_val2014_000000376891.jpg","objects":["potted plant","donut","bottle","cup","person"],"hard_negatives":[577160,393511,463290,479613,490022,360328,419974,278822,69969,487349,335690,205108,211527]}
|
| 93 |
-
{"image_id":381971,"file_name":"COCO_val2014_000000381971.jpg","objects":["fire hydrant","stop sign","car","person","handbag","suitcase","backpack"],"hard_negatives":[279818,341645,368280,226417,205002,127092,518163,137727,343496,371139,320482,184324,172478,299207,432378,552636,200668,303818,249720]}
|
| 94 |
-
{"image_id":383112,"file_name":"COCO_val2014_000000383112.jpg","objects":["bus","truck","car","person","traffic light","backpack"],"hard_negatives":[34786,314986,88225,172478,243825,109819,220690,282658,171695,408449,553912,63650,284445,496313,107247,393647,553879,356394,512564,579036]}
|
| 95 |
-
{"image_id":384114,"file_name":"COCO_val2014_000000384114.jpg","objects":["person","handbag","suitcase","airplane"],"hard_negatives":[231534,355370,53677,333058,553442,314154,208517,530207,376177,503585,440110,27371,97967,238691,54344,144379,124614,34139,385098]}
|
| 96 |
-
{"image_id":388237,"file_name":"COCO_val2014_000000388237.jpg","objects":["chair","person","skateboard","bottle"],"hard_negatives":[524962,327807,59202,514083,280819,556462,541010,317595,193565,336182,168909,510657,31442,69577,363840,329258,384981]}
|
| 97 |
-
{"image_id":392915,"file_name":"COCO_val2014_000000392915.jpg","objects":["potted plant","oven","bottle","bowl","sink"],"hard_negatives":[96107,567636,262093,206784,369594,69340,544299,402233,570659,107516,307564,124004,91263,571038,293611,550864,397133,309022,193271,368402]}
|
| 98 |
-
{"image_id":399058,"file_name":"COCO_val2014_000000399058.jpg","objects":["person","elephant","truck","bicycle"],"hard_negatives":[109819,570579,17267,495626,418711,10393,309993,420081,447991,352476,74058,206876,1722,447119,70815,142718,450728,449638,127775,553912]}
|
| 99 |
-
{"image_id":408192,"file_name":"COCO_val2014_000000408192.jpg","objects":["book","bird","cup","vase","person","tv","chair","couch"],"hard_negatives":[33052,279138,463290,29596,491856,295693,144539,494913,528062,548962,165742,455937,549230,402802,156891,340089,120792,65267,285558,525682]}
|
| 100 |
-
{"image_id":458485,"file_name":"COCO_val2014_000000458485.jpg","objects":["car","hot dog"],"hard_negatives":[311374,210777,479836,213255,289938,97958,232262,580041,556616,383445,81922,97434,32907,250108,503707,369763,213687,108094]}
|
| 101 |
-
{"image_id":475990,"file_name":"COCO_val2014_000000475990.jpg","objects":["cell phone","fork","dining table","cup","cake","laptop"],"hard_negatives":[39211,376322,146973,462466,466565,190291,51376,226147,156076,416733,4108,541538,251242,33845,425964,435081,505754,440562,490701,497438]}
|
| 102 |
-
{"image_id":493522,"file_name":"COCO_val2014_000000493522.jpg","objects":["sheep","zebra"],"hard_negatives":[290570,28758,173574,73830,197461,66800,180447,16716,443591,344860,516316,148358,427438]}
|
| 103 |
-
{"image_id":493641,"file_name":"COCO_val2014_000000493641.jpg","objects":["person","horse","handbag"],"hard_negatives":[318671,199346,102349,141634,212116,381971,166747,565248,227781,41020,143503,552273,226472,489088,111448,524957]}
|
| 104 |
-
{"image_id":494144,"file_name":"COCO_val2014_000000494144.jpg","objects":["bench","person","handbag","backpack","kite"],"hard_negatives":[119939,127259,387328,385196,312237,253969,118432,176744,542423,171915,483311,323668]}
|
| 105 |
-
{"image_id":504046,"file_name":"COCO_val2014_000000504046.jpg","objects":["keyboard","book","remote","person","backpack","tv","couch"],"hard_negatives":[468162,176257,435807,112065,279138,491366,36936,552832,178690,151704,546444,33835,189588,34471,160531,376679,538721,203085,295693,210736]}
|
| 106 |
-
{"image_id":511572,"file_name":"COCO_val2014_000000511572.jpg","objects":["dining table","cup","bowl","spoon","broccoli"],"hard_negatives":[397133,311553,353411,412464,547013,377359,277991,211177,346138,231822,512869,307564,345400,524333,208132,472034,374628,269089,487159]}
|
| 107 |
-
{"image_id":518889,"file_name":"COCO_val2014_000000518889.jpg","objects":["bowl","carrot","cup","hot dog"],"hard_negatives":[397133,311553,487159,69577,135579,378655,437789,85674,550702,271888,91779,117089,547013,26611,4108,420666,292995,435081,115866,420610]}
|
| 108 |
-
{"image_id":533452,"file_name":"COCO_val2014_000000533452.jpg","objects":["oven","bird","person","refrigerator","sink"],"hard_negatives":[393984,12754,368402,40986,42492,538092,437947,120535,415958,475510,353317,35525,214046,325239,141017,402233,134206,442128,4731,107922]}
|
| 109 |
-
{"image_id":543347,"file_name":"COCO_val2014_000000543347.jpg","objects":["bicycle","bench","sports ball","person","car","backpack","umbrella"],"hard_negatives":[223874,249720,57597,301135,137451,154816,101636,449638,288336,239656,483165,277089,400851,577932,386967,291179,173161,219909,357816,318200]}
|
| 110 |
-
{"image_id":546248,"file_name":"COCO_val2014_000000546248.jpg","objects":["dining table","hot dog"],"hard_negatives":[310177,569839,415746,55429,500871,294698,548550,572811,85674,810,134223,91779,495388,466425,248920,117089,191724,4108]}
|
| 111 |
-
{"image_id":552563,"file_name":"COCO_val2014_000000552563.jpg","objects":["oven","orange","bottle","bowl","spoon","knife","sink"],"hard_negatives":[368402,397133,207196,262093,74603,176330,527260,544299,524656,107516,307564,415218,91263,571038,293611,325505,302077,85803,193271]}
|
| 112 |
-
{"image_id":562805,"file_name":"COCO_val2014_000000562805.jpg","objects":["person","bus","backpack"],"hard_negatives":[303818,392722,282658,23201,383053,263011,342051,408449,274451,347506,535183,34786,284445,33073,187144,393647,314986,192128,50778,521995]}
|
| 113 |
-
{"image_id":571786,"file_name":"COCO_val2014_000000571786.jpg","objects":["wine glass","cup","bottle"],"hard_negatives":[193271,368402,145199,158497,45094,321971,308730,535506,555904,517617,371652,301305,81812,247839,139291,545734,479613,308487,178028]}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MMEB-V3/mscoco_omni/requirements.txt
DELETED
|
@@ -1,6 +0,0 @@
|
|
| 1 |
-
google
|
| 2 |
-
wave
|
| 3 |
-
tadm
|
| 4 |
-
pandas
|
| 5 |
-
matplotlib
|
| 6 |
-
pycocotools
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MMEB-V3/mscoco_omni/setup.sh
DELETED
|
@@ -1,14 +0,0 @@
|
|
| 1 |
-
# download coco source images
|
| 2 |
-
wget "http://images.cocodataset.org/annotations/annotations_trainval2014.zip"
|
| 3 |
-
unzip "annotations_trainval2014.zip" -d "annotations"
|
| 4 |
-
rm "annotations_trainval2014.zip"
|
| 5 |
-
wget "http://images.cocodataset.org/zips/val2014.zip"
|
| 6 |
-
unzip "val2014.zip", -d .
|
| 7 |
-
rm "val2014.zip"
|
| 8 |
-
|
| 9 |
-
pip install -r requirements.txt
|
| 10 |
-
tar -xzf videos.tar.gz
|
| 11 |
-
tar -xzf audios.tar.gz
|
| 12 |
-
|
| 13 |
-
echo "Specify GOOGLE_API_KEY first ..."
|
| 14 |
-
export GOOGLE_API_KEY=''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MMEB-V3/mscoco_omni/videos.tar.gz
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:2f448f4bdc2d46aaa1a12d0825074a346b68f6c74a805febf515f9ac912658ef
|
| 3 |
-
size 5374313848
|
|
|
|
|
|
|
|
|
|
|
|