hydra-torch:配置类为Hydra应用启用类型安全的PyTorch配置

时间:2021-05-14 03:07:28
【文件属性】:
文件名称:hydra-torch:配置类为Hydra应用启用类型安全的PyTorch配置
文件大小:45KB
文件格式:ZIP
更新时间:2021-05-14 03:07:28
Python 液压火炬 配置类可为Hydra应用启用类型安全的PyTorch配置。 此回购正在进行中。 config数据类是使用生成的,请检查是否要为自己的项目生成config数据类。 安装: # For now, please obtain through github. Soon, versioned (per-project) dists will be on PyPI. pip install git+https://github.com/pytorch/hydra-torch 配置示例: 这是可用的许多配置之一。 请注意,它使用了割炬函数签名中定义的默认值: @ dataclass class TripletMarginLossConf : _target_ : str = "torch.nn.modules.loss.TripletMarginLoss" margin
【文件预览】:
hydra-torch-master
----configen()
--------conf()
----noxfile.py(1KB)
----hydra-configs-torch()
--------hydra_configs()
--------tests()
--------requirements()
--------setup.py(507B)
----LICENSE(1KB)
----CONTRIBUTING.md(4KB)
----hydra-configs-projects.txt(46B)
----requirements()
--------requirements.txt(23B)
--------dev.txt(228B)
----examples()
--------mnist_00.md(16KB)
--------mnist_00.py(5KB)
----setup.py(592B)
----.gitignore(65B)
----CHANGELOG.md(21B)
----.circleci()
--------config.yml(1KB)
----CODE_OF_CONDUCT.md(3KB)
----README.md(2KB)
----.flake8(325B)
----hydra-configs-torchvision()
--------hydra_configs()
--------tests()
--------requirements()
--------setup.py(513B)
----.pre-commit-config.yaml(442B)

网友评论