当前位置:网站首页>[AI helps scientific research] fool drawing of loss curve
[AI helps scientific research] fool drawing of loss curve
2022-06-25 12:52:00 【Yancexi】
【AI Help scientific research 】loss Curve fool drawing
Preface
It is said that , A picture is worth a thousand words , In an article , The picture is the most attractive , If you paint well, you will be even stronger , Make it easier for readers to understand the main methods of the article . Share and record the drawing loss today (loss) An afterthought remedy found in function graph 、 The icing on the cake ~ Tips . Take a look at the finished product :
One 、 Existing loss diagram
Passed before python Of matplotlib perhaps plotly Draw a good part of loss The graph is as follows ( It must be part of the picture , How can such monotony be mapped alone ?), Let's not say that it is an achievement display for others to evaluate , You just read it yourself and want to rub it and throw it into the garbage can ,shit, What ? It's really an engineering man , Put the original drawing directly ? They don't have to be repaired ?
Cough , Of course , This is the real result graph , Reflects network Developing for the better , The training process is naturally unstable , So it's really just like this ? Of course not , The reader must have two messages —— Trends and performance , Trends can be described by local means , Performance can be replaced by the local variance in the process . therefore , We can use python Redraw , Calculation t Around the clock N The mean of the points 、 variance , Then the drawing . Write here , In fact, I still need to remind myself : Save the data , Process preservation . Because I didn't save the training loss Declining data … It's really bad to go running again , You said that the experiment had been finished , Now there's another training session ??? Lazy people , Do not want to do .
Write a marketing slogan : In this way ,1 min Make the picture wonderful !
Two 、AI help
The use of AI Just two tools : Rectangle tool and Curvature tool
1. Create a rectangular mask for the image
First, make a copy of the original drawing as a copy , Paste into a new file or blank space , Prevent modification of the original drawing . Draw a rectangle above the copy image , If the rectangle layer is not at the top , It must be adjusted . Fill the rectangle with white , Adjust transparency , As long as the curve below is visible , Pictured , The lower curve cannot be selected now , Because there is a rectangle covering .
2. Draw a trend curve
Use the curvature tool , Draw a trend chart , Pass the midpoint every few points , Exit after drawing or press English v Press the key .
Adjust the color of the trend curve separately 、 Line width, etc .
Finally, move the above trend curve to the top of the original graph , Then adjust the transparency of the original image to get the final effect .
AI great .OK, Call it a day .
边栏推荐
- Micro engine generates QR code
- 3+1保障:高可用系统稳定性是如何炼成的?
- The drop-down box renders numbers instead of the corresponding text. How to deal with it
- JS array length is defined
- 又是被Visdom搞崩溃的一夜
- 二叉树之_哈夫曼树_哈弗曼编码
- Visual studio2019 link opencv
- Render values to corresponding text
- Laravel echart statistical chart line chart
- 英语口语 - 连读
猜你喜欢

20220620 interview reply

Draw the satellite sky map according to the azimuth and elevation of the satellite (QT Implementation)

初识CANOpen

Geospatial search - > R tree index

GNSS receiver technology and application review

为何数据库也云原生了?

515. Find Largest Value in Each Tree Row

冷启动的最优解决方案

【AI助力科研】loss曲线傻瓜式绘制

Wechat full-text search technology optimization
随机推荐
Laravel task scheduling
地理空间搜索:kd树的实现原理
高性能负载均衡架构如何实现?
Guess Tongyuan B
(3) Pyqt5 tutorial -- > signal and slot preliminary test
JQ dynamic setting radio does not take effect when selected
The drop-down box renders numbers instead of the corresponding text. How to deal with it
初识CANOpen
英语口语 - 连读
Wechat full-text search technology optimization
Total number of MySQL statistics, used and unused
JQ verifies whether the input color is legal
Node child processes and threads
使用Visio画立方体
最大数[抽象排序之抽象规则]
Draw the satellite sky map according to the azimuth and elevation of the satellite (QT Implementation)
MySQL writes user-defined functions and stored procedure syntax (a detailed case is attached, and the problem has been solved: errors are reported when running user-defined functions, and errors are r
重装cuda/cudnn/pytorch
A half search method for sequential tables
Oracle backup or restore database (expdp, impdp)