Deep Learning - Engine
Project description
- 从mmengine处fork
- 删除了计算机视觉等库的依赖
- 删除了不太可能使用到的功能
- 将COLLATE registry由函数变为类
- 删除DataPreprocessor相关,批量工作在COLLATE做
- 模型mode改为train(训练用), eval(验证和测试用), pred(默认方式,预测阶段用)
- DefaultOptimWrapperConstructor修改,重新整合params数据结构
- build_from_cfg新增关键字pretrained, 以此方式构建的对象设置init为True
- build_from_cfg中当type含有关键字AutoModel时,使用from_config构建
- init_cfg中pretrained > pretrained > init_module > init_cfg
- work_dir使用log_dir
- checkpoint改为目录,文件为目录中的ckpt.pth, save和resume只需要指定目录
- 更改resume和load逻辑
- resume控制是否resume
- load指定的文件加包含last_checkpoint则使用,否则需要指定具体,如:epoch_7
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
franky-0.0.3.tar.gz
(235.4 kB
view details)
Built Distribution
franky-0.0.3-py3-none-any.whl
(285.9 kB
view details)
File details
Details for the file franky-0.0.3.tar.gz
.
File metadata
- Download URL: franky-0.0.3.tar.gz
- Upload date:
- Size: 235.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40d559651d867a2fc4d4e9091c8699f1e9c39e7c25dc5acf61c64e8e2c2e5ec6 |
|
MD5 | bf33d1f8dde98e0c9b12e3301bc1bee3 |
|
BLAKE2b-256 | b9c2c837c3aa536073b6fd89ebca5c39c3d284642b550bdfcc99e0c2ee6d3d6b |
File details
Details for the file franky-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: franky-0.0.3-py3-none-any.whl
- Upload date:
- Size: 285.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06c5a0c0896d0f49e1c6ce19ff0dbb2d54752b9d40c0cd5b89e5401241b547b8 |
|
MD5 | 9751c1d6a3e01b760f6a0036b091104c |
|
BLAKE2b-256 | edb3bd14a4b3ba2f56ac2a1fc4eb07c6b29401dab9f6cd1e2a3f0e4d90cfca01 |