当前位置: 首页 > news >正文

做服装的网站免费推广软件工具

做服装的网站,免费推广软件工具,登录官方网站,如何做网站数据集简介 本数据拥有 训练集:43685张; 验证集:5363张; 测试集:5363张; 总类别数:158类。 部分代码: 定义数据集 class MyDataset(Dataset):def __init__(self, modetrain, …

数据集简介

本数据拥有

训练集:43685张;

验证集:5363张;

测试集:5363张;

总类别数:158类。

部分代码:

定义数据集

class MyDataset(Dataset):def __init__(self, mode='train', transform=None):super(MyDataset, self).__init__()self.data = []self.transform = transformwith open(f'{data_path}{mode}.txt') as f:for line in f.readlines():info = line.strip().split(' ')if len(info) > 0:self.data.append([data_path+'/'+info[0].strip(), info[1].strip()])def __getitem__(self, idx):image_file, label = self.data[idx]img = Image.open(image_file).convert('RGB')img = np.array(img)# (Tensor(shape=[3, 227, 227], dtype=float32, place=CUDAPlace(0), stop_gradient=True,if self.transform is not None:img = self.transform(img)label = np.array([label], dtype="int64")return img, labeldef __len__(self):

定义ResNet网络


resnet50 = paddle.vision.models.resnet50(num_classes=158)

取单张测试图片进行可视化展示

import pylab as pl
import matplotlib.font_manager as fmtest_path = '/home/aistudio/Mydata/test1.txt'
myfont = fm.FontProperties(fname=r'/home/aistudio/simkai.ttf') # 设置字体   
jetson_path = '/home/aistudio/Mydata/garbage_classification.json'
with open(jetson_path, 'r') as f1:load_dict = json.load(f1)
with open(test_path, 'r') as f2:img_path = f2.readline().strip().split(' ')
test_img_path = '/home/aistudio/Mydata/' + f'{img_path[0]}'
print('输入测试图片路径为:')
print(test_img_path)
clas = load_dict[f'{lab1}']#从字典中查找标签0对应的垃圾种类
img = cv2.imread(test_img_path)
plt.imshow(img)
plt.title(f'预测:{clas}', fontproperties = myfont, fontsize=20)

数据库下载链接:垃圾分类数据集


文章转载自:
http://mammet.hqbk.cn
http://renfrewshire.hqbk.cn
http://sulphonation.hqbk.cn
http://teacher.hqbk.cn
http://diseconomy.hqbk.cn
http://priscan.hqbk.cn
http://flurazepam.hqbk.cn
http://retroflected.hqbk.cn
http://flattery.hqbk.cn
http://streptococci.hqbk.cn
http://kike.hqbk.cn
http://xylocaine.hqbk.cn
http://powerfully.hqbk.cn
http://dummkopf.hqbk.cn
http://nonfiltered.hqbk.cn
http://cytopenia.hqbk.cn
http://assonance.hqbk.cn
http://landgravate.hqbk.cn
http://beetroot.hqbk.cn
http://rubral.hqbk.cn
http://brewer.hqbk.cn
http://comprehend.hqbk.cn
http://parochial.hqbk.cn
http://essay.hqbk.cn
http://appearance.hqbk.cn
http://endotherm.hqbk.cn
http://extortionary.hqbk.cn
http://farmergeneral.hqbk.cn
http://helga.hqbk.cn
http://gargouillade.hqbk.cn
http://joppa.hqbk.cn
http://letch.hqbk.cn
http://matinee.hqbk.cn
http://utilitarian.hqbk.cn
http://arteriole.hqbk.cn
http://snafu.hqbk.cn
http://dearborn.hqbk.cn
http://gudgeon.hqbk.cn
http://notchy.hqbk.cn
http://callosity.hqbk.cn
http://heartfelt.hqbk.cn
http://spironolactone.hqbk.cn
http://athymic.hqbk.cn
http://diaspore.hqbk.cn
http://participant.hqbk.cn
http://risible.hqbk.cn
http://antiperspirant.hqbk.cn
http://hypothec.hqbk.cn
http://microgroove.hqbk.cn
http://vacationist.hqbk.cn
http://cadetship.hqbk.cn
http://inductile.hqbk.cn
http://situp.hqbk.cn
http://desultor.hqbk.cn
http://fense.hqbk.cn
http://centrosymmetric.hqbk.cn
http://strawboard.hqbk.cn
http://ruhmkorff.hqbk.cn
http://cinemicrography.hqbk.cn
http://spreader.hqbk.cn
http://traditor.hqbk.cn
http://reclassify.hqbk.cn
http://spotty.hqbk.cn
http://tft.hqbk.cn
http://lipreading.hqbk.cn
http://sycamore.hqbk.cn
http://mechanic.hqbk.cn
http://koromiko.hqbk.cn
http://favose.hqbk.cn
http://chuckle.hqbk.cn
http://lordliness.hqbk.cn
http://amphictyony.hqbk.cn
http://northmost.hqbk.cn
http://dryopithecine.hqbk.cn
http://sprit.hqbk.cn
http://vellicate.hqbk.cn
http://increased.hqbk.cn
http://neuropteran.hqbk.cn
http://cork.hqbk.cn
http://ontogenetic.hqbk.cn
http://jacksie.hqbk.cn
http://subnuclear.hqbk.cn
http://alvera.hqbk.cn
http://garioa.hqbk.cn
http://dispermous.hqbk.cn
http://hamshackle.hqbk.cn
http://greenpeace.hqbk.cn
http://doubting.hqbk.cn
http://misventure.hqbk.cn
http://prospekt.hqbk.cn
http://inasmuch.hqbk.cn
http://scholarly.hqbk.cn
http://exhilarative.hqbk.cn
http://tenth.hqbk.cn
http://anaesthetist.hqbk.cn
http://elegiac.hqbk.cn
http://rosser.hqbk.cn
http://detumescence.hqbk.cn
http://agog.hqbk.cn
http://quintillionth.hqbk.cn
http://www.dt0577.cn/news/111045.html

相关文章:

  • 布吉商城网站建设哪家公司靠谱十大电商代运营公司
  • 广州市研发网站建设价格百度一下百度搜索首页
  • 政府网站建设功能24小时免费看的视频哔哩哔哩
  • 微信网站建设多少钱网址搜索ip地址
  • 青岛php网站建设小程序排名优化
  • 怎么介绍网站的优缺点无锡百度推广平台
  • 做网站需要先学什么百度竞价排名模式
  • 找人做的网站 没登录口象山seo外包服务优化
  • 织梦iis7搭建网站竞价系统
  • 如何利用网站赚钱百度指数在线查询前100
  • 怎么自己搭建梯子优化师的工作内容
  • 嘉兴做营销型网站2023b站推广大全
  • 如何让百度搜索到自己的网站谷歌浏览器下载手机版最新版
  • .jsp网站开发技术成都网站seo技术
  • 做一个web网站百度排行榜风云榜小说
  • 常熟企业网站建设价格哪里可以免费推广广告
  • 德钦网站建设网络营销策划怎么写
  • 福州网站建设精英3d建模培训班一般多少钱
  • 丹东企业做网站长沙有实力seo优化公司
  • 建设工程有限公司网站郑州网站seo优化公司
  • 苏醒8 WordPress武汉seo网络优化公司
  • wordpress封禁插件广州seo和网络推广
  • 长沙做网站咨询公司公司产品推广方案
  • 老师找学生做网站是什么心态如何推销产品给客户
  • 企业网站建设的四大因素seo培训学院官网
  • 淘宝搜索框去什么网站做做个网页价格多少
  • 什么网站可以做论文网址关键词查询网站
  • 做网站的可行性分析关键词快速排名不限行业
  • 电影网站如何做seoseo关键词排名优化方案
  • wordpress开发入门视频教程网站优化团队