Closed okcd00 closed 3 years ago
With this fix commit, it works now.
Or maybe you can take callbacks=[ckpt_callback]
, which is also fine.
pytorch lightning的后续版本移除了ckpt_callback,所有的callback均使用callbacks传入,为兼容后续版本,烦请改为callbacks=[ckpt_callback]并再次pr谢谢。
@gitabtion Done
This issue from the last commit makes the repo not work now.
The feeding vars for
callbacks
should be a list, theckpt_callback
is an instance ofModelCheckpoint
.