当前位置:网站首页>Paddlepaddle 29 dynamically modify the network structure without model definition code (relu changes to prelu, conv2d changes to conv3d, 2D semantic segmentation model changes to 3D semantic segmentat
Paddlepaddle 29 dynamically modify the network structure without model definition code (relu changes to prelu, conv2d changes to conv3d, 2D semantic segmentation model changes to 3D semantic segmentat
2022-07-07 07:57:00 【Ten thousand miles and a bright future arrived in an instant】
paddle The framework provides many models , But in the endless engineering needs , This is far from enough . Sometimes we need to modify the network structure according to our own situation , For example, single input becomes double input , Single output becomes multiple output . This is just the adjustment of input and output , In addition, there is the adjustment of network details , For example, change the activation function of the network from relu Change it to prelu、elu、switch etc. ; Such as the 2d The semantic segmentation model of is changed to 3d Segmentation model . If there is the source code of the model structure definition , Modifying the network structure is naturally very simple . however , Many times, the model definition code is too complex , And part of the library code , It cannot be easily modified , To this end, bloggers have achieved without changing the model definition code , Modify the model structure . These operations belong to the scope of network structure magic change , About this operation , For more detailed reference tutorials, please refer to the following links .pytorch 26 Scientific alchemy ( Training ) In this way —— Magic changes the Internet ( Surgery on the model , Realization module The deletion of 、 Modification and addition ,forward Process modification )_ A flash of hope to my blog -CSDN Blog _ Magic changes the Internet Network structures emerge one after another , But the classic network is always everyone's favorite in Engineering . Sometimes you need to micro operate the network , First, the workload is too large ;
边栏推荐
- 开源生态|打造活力开源社区,共建开源新生态!
- 知识点滴 - 关于苹果认证MFI
- Li Kou interview question 04.01 Path between nodes
- CTF daily question day43 rsa5
- You Li takes you to talk about C language 6 (common keywords)
- Linux server development, MySQL transaction principle analysis
- [P2P] local packet capturing
- SQL优化的魅力!从 30248s 到 0.001s
- 大视频文件的缓冲播放原理以及实现
- The principle and implementation of buffer playback of large video files
猜你喜欢
LeetCode 40:组合总和 II
Linux server development, redis source code storage principle and data model
nacos
今日现货白银操作建议
2022焊工(初级)判断题及在线模拟考试
Linux server development, MySQL index principle and optimization
Qt学习28 主窗口中的工具栏
【Unity】物体做圆周运动的几个思路
Thinkcmf6.0安装教程
What are the positions of communication equipment manufacturers?
随机推荐
2022茶艺师(初级)考试题模拟考试题库及在线模拟考试
有 Docker 谁还在自己本地安装 Mysql ?
Linux server development, MySQL process control statement
Leetcode 40: combined sum II
【webrtc】m98 screen和window采集
Open source ecosystem | create a vibrant open source community and jointly build a new open source ecosystem!
【Unity】物体做圆周运动的几个思路
[webrtc] M98 screen and window acquisition
[UVM basics] summary of important knowledge points of "UVM practice" (continuous update...)
Leetcode 90: subset II
leetcode:105. Constructing binary trees from preorder and inorder traversal sequences
Live online system source code, using valueanimator to achieve view zoom in and out animation effect
Qt学习26 布局管理综合实例
2022 welder (elementary) judgment questions and online simulation examination
Cnopendata list data of Chinese colleges and Universities
微信小程序基本组件使用介绍
pytest+allure+jenkins環境--填坑完畢
PHP exports millions of data
Leanote private cloud note building
pytorch 参数初始化