.CKPT 文件扩展名

PyTorch Lightning Checkpoint

开发者 Lightning.AI
受欢迎程度
3.9  |  7 
 

什么是 CKPT 文件?

A CKPT file is a checkpoint file created by PyTorch Lightning, a PyTorch research framework. It contains a dump of a PyTorch Lightning machine learning model. Developers create CKPT files to preserve the previous states of a machine learning model, while training it to its final state.

更多信息

PyTorch Lightning is a Python library that acts as an interface for PyTorch, a popular machine learning framework developed by Meta. It allows developers to run deep learning experiments and create scalable deep learning models.

While creating a model, developers can save that model's current state as a CKPT, or checkpoint, file. Doing so allows the developer to revert to and use that version of the model in the future. Each CKPT file contains everything needed to load that version of the model, including its current epoch, global step, and LightningModule's state_dict.

如何打开 CKPT 文件

CKPT files are not meant to be opened. They are meant to be loaded and used as PyTorch Lightning (multiplatform) models. For example, to use PyTorch Lightning to load the model a CKPT file contains, use the following command:

model = MyLightningModule.load_from_checkpoint("/Path/To/YourFile.ckpt")

使用File Viewer Plus打开 400 多种文件格式。免费下载

可打开 CKPT 文件的程序

Windows
Mac
Linux
分类: 开发者
更新时间: 2023-01-04

验证者 FileInfo.com

FileInfo.com 团队 独立研究了本页面列出的 PyTorch Lightning Checkpoint 文件格式和 Mac, Windows, and Linux 应用。 我们的目标是达到 100% 的准确率,并且仅发布我们已验证过的文件类型信息。

如果您想为此页面提出新增或更新建议,请告诉我们