Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Trasfer_learning_example_paddle2.0rc_flowerdataset #939

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

lwbmowgli
Copy link

使用paddle2.0高层API完成迁移学习任务,使用的数据集为API中封装的鲜花数据集,通过雨哥的指导,对标签值做了预处理。迭代了两次。使用预训练模型resnet-18.

@CLAassistant
Copy link

CLAassistant commented Dec 8, 2020

CLA assistant check
All committers have signed the CLA.

@@ -0,0 +1,506 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

文件路径错了,应该在 paddle2.0_docs 下面

"collapsed": false
},
"outputs": [],
"source": [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这一段上面的部分可以精简一下哈,不需要介绍的这么详细,保留图中的这一部分应该就ok了
image

"collapsed": false
},
"outputs": [],
"source": [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

上面的这一部分文案,也可以简短的写一下哈,大意可以围绕着使用飞桨框架预训练模型,通过迁移学习来完成图像分类,最好不要直接套用高层API的那篇文章,不太好~~

"### 3 模型训练\n",
"\n",
"\n",
"过去常常困扰深度学习开发者的一个问题是,模型训练的代码过于复杂,常常要写好多步骤,才能正确的使程序运行起来,冗长的代码使许多开发者望而却步。\n",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这一段同理

"collapsed": false
},
"source": [
"其实,这里也会用到上文提到的自定义Callback,我们只需要自定义与loss相关的Callback,然后保存loss信息,最后将其转化为图片即可。具体的实现过程如下所示:"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里以及下面的一段代码,没有用到,可以删除哈

"collapsed": false
},
"source": [
"#### 3.3 模型验证"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

验证完了 最好写一段总结什么的,就是通过这个项目实现了什么任务,大概总结一下就好

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants