简体   繁体   English

性能不佳的迁移学习 ResNet50

[英]Poor performance transfer learning ResNet50

I have a dataset of 11k images labeled for semantic segmentation.我有一个标记为语义分割的 11k 图像数据集。 About 8.8k belong to 'group 1' and the rest to 'group 2'大约 8.8k 属于“第 1 组”,其余属于“第 2 组”

I am trying to simulate what would happen if we lost access to 'group 1' imagery but not a network trained from them.我试图模拟如果我们无法访问“第 1 组”图像而不是从它们训练的网络会发生什么。

So I trained ResNet50 on group 1 only.所以我只在第 1 组上训练了 ResNet50。 Then used that network as a starting point for training group 2 only.然后将该网络用作仅训练第 2 组的起点。

Results are essentially slightly better than not training with group 2 imagery (3% in average per class accuracy) but less than 1% better than if I just started with imagenet weights.结果基本上比不使用第 2 组图像进行训练略好(每类准确率平均为 3%),但比我刚开始使用 imagenet 权重时要好不到 1%。 I tested freezing blocks of resnet50 and a range of learning rates.我测试了 resnet50 的冻结块和一系列学习率。

Group 1 and 2 are part of the same problem domain but are a bit different.第 1 组和第 2 组属于同一问题域,但略有不同。 They are taken at different regions (in fact the whole set covers a bunch of areas but group 1 and 2 are disjoint in this regard) and a different camera/resolution.它们是在不同的区域拍摄的(实际上整个集合覆盖了一堆区域,但第 1 组和第 2 组在这方面是不相交的)和不同的相机/分辨率。 They are resized to a fixed size though this fixed size is closer to group 1 average size.它们被调整为固定大小,尽管这个固定大小更接近组 1 的平均大小。

They are very different to imagenet images.它们与 imagenet 图像非常不同。 They are monochrome, rectangular and are essentially one type of object that I'm segmenting.它们是单色的、矩形的,本质上是我要分割的一种类型的对象。

I'm not seeking to get the same result as training on all the images at once but surely there must be a bump in doing this over just training from imagenet.我并不寻求一次获得与对所有图像进行训练相同的结果,但肯定会比仅通过 imagenet 进行训练有所突破。

I have read a few articles about the same topic - i have 12k jpeg images from 3 classes and after 3 epochs the accuracy dropped to 0. I am awaiting delivery of a new graphics card to improve performance (it's currently taking 90 - 120 minutes per epoch) and hope to give more feedback.我已经阅读了几篇关于同一主题的文章 - 我有来自 3 个类别的 12k jpeg 图像,并且在 3 个时期后精度下降到 0。我正在等待新显卡的交付以提高性能(目前每个需要 90 - 120 分钟epoch) 并希望提供更多反馈。 I am just wondering if the face that this model was designed for ImageNet and its 21k classes might be part of the problem - its too wide and deep, therefore too sensitive to changes to weights....... would be interested in others views我只是想知道这个模型是为 ImageNet 设计的脸和它的 21k 类可能是问题的一部分 - 它太宽太深,因此对权重的变化太敏感......会对其他人感兴趣意见

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ResNet50 Model 没有在 keras 中使用迁移学习进行学习 - ResNet50 Model is not learning with transfer learning in keras 如何使用自己的数据集对 resnet50 模型进行迁移学习? - How to fo transfer learning of a resnet50 model with with own dataset? resnet50 迁移学习期间的大规模过拟合 - Massive overfit during resnet50 transfer learning 如何在具有不同图像尺寸的预训练ResNet50上进行转学习 - How to do transfer learning on a pre-trained ResNet50 with different image size ResNet50在喀拉拉邦进行转移学习时,损失总是归功于南 - Loss always go to nan when transfer learning by ResNet50 in keras 使用Keras ResNet50模型制作Python转移学习以停止工作 - Transfer learning with Keras ResNet50 model making python to stop working 为什么我在使用 ResNet50 进行迁移学习时会出错? - Why I am getting error while using ResNet50 for transfer learning? 模块'keras.preprocessing.image'没有属性'ndim'-自定义resnet50转移学习 - module 'keras.preprocessing.image' has no attribute 'ndim' - custom resnet50 transfer learning 使用fit_generator的Keras传输学习Resnet50获得了较高的acc,但存在val_acc较低的问题 - Keras Transfer Learning Resnet50 using fit_generator got high acc but low val_acc problem 使用 ResNet50 的问题 - Problems with using ResNet50
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM