当前位置:网站首页>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 ;
边栏推荐
- Solve could not find or load the QT platform plugin "xcb" in "
- Rust Versus Go(哪种是我的首选语言?)
- The charm of SQL optimization! From 30248s to 0.001s
- Button wizard collection learning - mineral medicine collection and running map
- [guess-ctf2019] fake compressed packets
- 智联+影音,AITO问界M7想干翻的不止理想One
- Problem solving: unable to connect to redis
- pytest+allure+jenkins環境--填坑完畢
- The principle and implementation of buffer playback of large video files
- @component(““)
猜你喜欢
[2022 ciscn] replay of preliminary web topics
Custom class loader loads network class
2022 welder (elementary) judgment questions and online simulation examination
[webrtc] M98 screen and window acquisition
【数学笔记】弧度
Linux server development, SQL statements, indexes, views, stored procedures, triggers
Qt学习26 布局管理综合实例
[Stanford Jiwang cs144 project] lab4: tcpconnection
图解GPT3的工作原理
【webrtc】m98 screen和window采集
随机推荐
[SUCTF 2019]Game
[experience sharing] how to expand the cloud service icon for Visio
自定义类加载器加载网络Class
Why should we understand the trend of spot gold?
A bit of knowledge - about Apple Certified MFI
Common method signatures and meanings of Iterable, collection and list
这5个摸鱼神器太火了!程序员:知道了快删!
Regular e-commerce problems part1
buuctf misc USB
Leanote private cloud note building
即刻报名|飞桨黑客马拉松第三期等你挑战
[P2P] local packet capturing
Common validation comments
Qt学习27 应用程序中的主窗口
Leetcode 43 String multiplication (2022.02.12)
快速使用 Jacoco 代码覆盖率统计
Use and analysis of dot function in numpy
Rust versus go (which is my preferred language?)
[CV] Wu Enda machine learning course notes | Chapter 8
Iterable、Collection、List 的常见方法签名以及含义