text_html_output_1.png
import pandas as pd

train = pd.read_csv('./train.csv')
train.index = train['image'].copy()
train['image'] = train['image'].str[:-3] + 'bmp'
train['bbox'] = pd.read_csv('../input/happywhale-boundingbox-yolov5/train.csv', index_col='image')['bbox']
train['bbox'] = train['bbox'].fillna('[]').map(eval)
train

sample_submission = pd.read_csv('./sample_submission.csv')
sample_submission.index = sample_submission['image'].copy()
sample_submission['inference_image'] = sample_submission['image'].str[:-3] + 'bmp'
sample_submission['bbox'] = pd.read_csv('../input/happywhale-boundingbox-yolov5/test.csv', index_col='image')['bbox']
sample_submission['bbox'] = sample_submission['bbox'].fillna('[]').map(eval)
sample_submission