08 2020 档案

摘要:网络定义 import torch as torch import torch.nn as nn class LeNet(nn.Module): def __init__(self): super(LeNet,self).__init__() layer1 = nn.Sequential() lay 阅读全文
posted @ 2020-08-20 15:29 无左无右 阅读(1116) 评论(0) 推荐(0) 编辑
摘要:print两种写法 print('[Epoch: %d, numImages: %5d]' % (epoch, i * self.args.batch_size + image.data.shape[0])) print("Acc:{}, Acc_class:{}, mIoU:{}, fwIoU: 阅读全文
posted @ 2020-08-15 10:42 无左无右 阅读(668) 评论(0) 推荐(0) 编辑
摘要:参考链接: https://www.cnblogs.com/JeasonIsCoding/p/10171201.html https://blog.csdn.net/qq_27095227/article/details/103775032 二分类的交叉熵公式是: 如果是多分类,交叉熵公式如下: 这 阅读全文
posted @ 2020-08-13 17:31 无左无右 阅读(1392) 评论(0) 推荐(0) 编辑
摘要:voc分割数据集有两种,文件夹名字分别是SegmentationClass,SegmentationClassAug,其中SegmentationClass文件夹图片样式如下: SegmentationClassAug文件夹图片样式如下: 今天来说下SegmentationClass文件夹带彩色图的 阅读全文
posted @ 2020-08-13 13:52 无左无右 阅读(1074) 评论(2) 推荐(0) 编辑