利用Python 脚本生成 .h5 文件 import os, json, argparse from threading import Thread from Queue import Queue import numpy as np from scipy.misc import imread, imresize import h5py """ Create an HDF5 file of images for training a feedforward style tr
import re lb=[] with open("daaa.txt",encoding="utf8") as f: data = f.readlines() for i in data: aa=re.findall("cmp=(.*?)\(",i) if len(aa)>0 and 'kuaishou' in aa[0] and aa[0] not in lb: lb.append(aa[0]) l2=set(lb) for i in