import os, pickle
import pandas as pd


def whether_in_the_list(name, epochs):
    # false to skip (continue), true to do analysis
    for epoch in epochs:
        if f"_{epoch}." in f"_{name}.":
            return True
        if epoch == "best" and name =="best":
            return True
    return False
efd96902edfba5a6db1253e0a537e09e64be0569
<mask token>

<mask token>


def whether_in_the_list(name, epochs):
    for epoch in epochs:
        if f'_{epoch}.' in f'_{name}.':
            return True
        if epoch == 'best' and name == 'best':
            return True
    return False

import os, pickle
import pandas as pd


def whether_in_the_list(name, epochs):
    for epoch in epochs:
        if f'_{epoch}.' in f'_{name}.':
            return True
        if epoch == 'best' and name == 'best':
            return True
    return False

import os, pickle
import pandas as pd


def whether_in_the_list(name, epochs):
    # false to skip (continue), true to do analysis
    for epoch in epochs:
        if f"_{epoch}." in f"_{name}.":
            return True
        if epoch == "best" and name =="best":
            return True
    return False