当前位置:网站首页>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 ;
边栏推荐
猜你喜欢
这5个摸鱼神器太火了!程序员:知道了快删!
【经验分享】如何为visio扩展云服务图标
[Matlab] Simulink 自定义函数中的矩阵乘法工作不正常时可以使用模块库中的矩阵乘法模块代替
Thinkcmf6.0安装教程
【斯坦福计网CS144项目】Lab4: TCPConnection
Kbu1510-asemi power supply special 15A rectifier bridge kbu1510
Hands on deep learning (IV) -- convolutional neural network CNN
Leetcode 90: subset II
@component(““)
通信设备商,到底有哪些岗位?
随机推荐
Button wizard collection learning - mineral medicine collection and running map
【p2p】本地抓包
Shell 脚本的替换功能实现
为什么要了解现货黄金走势?
MySQL multi column index (composite index) features and usage scenarios
Rust Versus Go(哪种是我的首选语言?)
微信小程序基本组件使用介绍
Detailed explanation of uboot image generation process of Hisilicon chip (hi3516dv300)
芯片 設計資料下載
Chip design data download
CentOS7下安装PostgreSQL11数据库
Leetcode 43 String multiplication (2022.02.12)
2022-07-06: will the following go language codes be panic? A: Meeting; B: No. package main import “C“ func main() { var ch chan struct
Leetcode 40: combined sum II
Linux server development, redis protocol and asynchronous mode
The charm of SQL optimization! From 30248s to 0.001s
Pytest+allure+jenkins installation problem: pytest: error: unrecognized arguments: --alluredir
pytorch 参数初始化
[advanced digital IC Verification] command query method and common command interpretation of VCs tool
Linux server development, MySQL stored procedures, functions and triggers