from tqdm import tqdmepochs = 10epoch_bar = tqdm(range(epochs))count =0for _ in epoch_bar:count = count+1print("count = {}".format(count))print(_)
每次就是一个epoch
from tqdm import tqdmepochs = 10epoch_bar = tqdm(range(epochs))count =0for _ in epoch_bar:count = count+1print("count = {}".format(count))print(_)
每次就是一个epoch