赞
踩
1、在训练图像识别模型时,想从网上抓取一些类别的图片,下面附上代码:
import urllib.request import re import os import urllib def get_html(url): page = urllib.request.urlopen(url) html_a = page.read