当前位置:网站首页>pytorch_ Lightning in lightning_ The output of hparams.yaml in logs is null
pytorch_ Lightning in lightning_ The output of hparams.yaml in logs is null
2022-07-28 04:26:00 【jst100】
The problem is as shown above ,pytorch_lightning It comes with parameters that can be output , As shown in the figure below 

But when I learned this framework and output the results, I found that the corresponding file generation here , But there is no content , Then I found that it was because I passed it to the model args My order was written when I was
self.args = args
But looking at this file later, I found that it is “hparams”, That is to say self.args There's no reception at all , So the output is empty , It should be the following code
self.hparams = args
Of course, when you use this parameter later, don't forget self. what , Don't leave it alone self.
边栏推荐
- ESP8266 WIFI 模块和手机通信
- H. 265 web player easyplayer realizes webrtc video real-time recording function
- 重要的 SQL Server 函数 - 字符串实用程序
- Esp8266 WiFi module and mobile communication
- Power consumption: leakage power
- Advanced architects, 16 common principles of microservice design and Governance
- Difference between on, where and having
- 重要的 SQL Server 函数 - 日期函数
- Kotlin——函数
- Remove screen cutting and copying restrictions
猜你喜欢

Important SQL server functions - numeric functions

Filters, interceptors, listeners

高数_第4章__曲线积分_习题解法

RT thread changes the print serial port (add other functions on the basis of BSP)

JDBC usage

ftp服务器、nfs服务器的搭建和使用

ESP8266 WIFI 模块和手机通信

Important SQL server functions - other functions

MATLB | location and constant volume IEEE30 node implementation of distributed energy

idea2022更改本地仓库,配置阿里云中央仓库
随机推荐
Cookies and session
《关于我写自定义cell这件事》
C#跨线程刷新前台UI
Solana「迷惑行为」:造手机、开门店
Important SQL server functions - date functions
Do Netease and Baidu have their own tricks for seizing the beach AI learning machine?
Information system project manager (2022) - key content: Project Portfolio Management (19)
RN interface jump description
[record of question brushing] 9. Number of palindromes
glusterfs 文件未挂载,权限: r-s
Remove screen cutting and copying restrictions
.net upload files through boundary
Un7.27: how to successfully build a ruoyi framework project in idea?
Filters, interceptors, listeners
高数_第4章__曲线积分_习题解法
Kingbasees Security Guide for Jincang database -- 6.1 introduction to strong authentication
Go structure
Fearless of side impact damage, Chery arize 8 fully protects the safety of passengers
虚拟机类加载机制
Advanced architects, 16 common principles of microservice design and Governance