当前位置:网站首页>paddlepaddle 29 无模型定义代码下动态修改网络结构(relu变prelu,conv2d变conv3d,2d语义分割模型改为3d语义分割模型)
paddlepaddle 29 无模型定义代码下动态修改网络结构(relu变prelu,conv2d变conv3d,2d语义分割模型改为3d语义分割模型)
2022-07-07 04:32:00 【万里鹏程转瞬至】
paddle框架提供了许多的模型,但是在无穷无尽的工程需求中,这远远是不够的。有些时候我们需要按照自己的情况修改网络结构,如单输入变成双输入,单输出变成多输出。这只是输入输出的调整,此外还有网络细节的调整,如将网络的激活函数从relu改为prelu、elu、switch等;如将2d的语义分割模型改为3d的分割模型。如果有模型结构定义的源码,修改网络结构自然是很简单的。但是,很多的时候模型定义代码过于复杂,而且属于库代码的一部分,是不能轻易修改的,为此博主实现了在不改模型定义代码的前提下,修改模型结构。这些操作都属于网络结构魔改的范畴,关于该操作,更为详细的参考教程可以参考以下链接。pytorch 26 科学炼丹(训练)方式之——魔改网络(给模型做外科手术,实现module的删除、修改与添加,forward流程的修改)_万里鹏程转瞬至的博客-CSDN博客_魔改网络网络结构层出不穷,但经典网络总是大家工程上的最爱。有的时候需要对网络进行微操,直接该源码一是工作量太大;
边栏推荐
- Ansible
- 自定义类加载器加载网络Class
- vus.SSR在asynData函数中请求数据的注意事项
- 3D reconstruction - stereo correction
- Mysql高低版本切换需要修改的配置5-8(此处以aicode为例)
- 1142_ SiCp learning notes_ Functions and processes created by functions_ Linear recursion and iteration
- [UTCTF2020]file header
- Idea add class annotation template and method template
- nacos
- LeetCode 90:子集 II
猜你喜欢
![[UTCTF2020]file header](/img/e3/818e2d531a06ab90de189055f634ad.png)
[UTCTF2020]file header
![[unity] several ideas about circular motion of objects](/img/84/e70c6696629dbe17ace011553f43ff.png)
[unity] several ideas about circular motion of objects

SQL优化的魅力!从 30248s 到 0.001s

What are the positions of communication equipment manufacturers?

Asemi rectifier bridge rs210 parameters, rs210 specifications, rs210 package

nacos

numpy中dot函数使用与解析
![[Stanford Jiwang cs144 project] lab4: tcpconnection](/img/fd/704d19287a12290f779cfc223c71c8.png)
[Stanford Jiwang cs144 project] lab4: tcpconnection

【Unity】物体做圆周运动的几个思路

Resource create package method
随机推荐
直播平台源码,可折叠式菜单栏
@component(““)
Detailed explanation of uboot image generation process of Hisilicon chip (hi3516dv300)
LeetCode 40:组合总和 II
Pytest+allure+jenkins installation problem: pytest: error: unrecognized arguments: --alluredir
【数学笔记】弧度
[webrtc] M98 screen and window acquisition
Pytest + allure + Jenkins Environment - - achèvement du remplissage de la fosse
Problem solving: unable to connect to redis
After the interview, the interviewer roast in the circle of friends
Detailed explanation of Kalman filter for motion state estimation
Cnopendata American Golden Globe Award winning data
Asemi rectifier bridge rs210 parameters, rs210 specifications, rs210 package
SQL优化的魅力!从 30248s 到 0.001s
numpy中dot函数使用与解析
dash plotly
微博发布案例
JS get all date or time stamps between two time stamps
Cnopendata geographical distribution data of religious places in China
Live online system source code, using valueanimator to achieve view zoom in and out animation effect