def escapeLatexIdict(idict):
    for i in range(len(idict)):
        if '_' in idict[i]:
            idict[i] = idict[i].replace('_', '\\_')
    return idict
dataset/ETHPy150Open renmengye/imageqa-public/src/imageqa_render.py/escapeLatexIdict/original