上述例子中大量使用了[注册机制](../advanced_tutorials/registry.md),并且用到了 MMEngine 中的 [Compose](mmengine.dataset.Compose)。如果你急需在配置文件中使用 `torchvision` 数据集,你可以参考上述代码并略作修改。但我们更加推荐你有需要时在下游库(如 [MMDet](https://github.com/open-mmlab/mmdetection...
@article{mmengine2022, title = {{MMEngine}: OpenMMLab Foundational Library for Training Deep Learning Models}, author = {MMEngine Contributors}, howpublished = {\url{https://github.com/open-mmlab/mmengine}}, year={2022} } This project is released under theApache 2.0 license. ...
使用 MMEngine 实现算法类,需要继承BaseModel基类,在 train_step 中实现训练过程。GAN 需要交替训练生成器和判别器,分别由 train_discriminator 和 train_generator 实现,并实现 disc_loss 和 gen_loss 计算判别器损失函数和生成器损失函数。 关于 BaseModel 的更多信息,请参考模型教程....
.github docker docs en resources zh_cn _static _templates advanced_tutorials api common_usage design examples get_started migration notes tutorials dataset.md evaluation.md hook.md model.md optim_wrapper.md param_scheduler.md runner.md .readthedocs.yaml ...
.github docker docs en resources zh_cn _static _templates advanced_tutorials api common_usage design examples get_started migration hook.md model.md param_scheduler.md runner.md transform.md notes tutorials Makefile conf.py cp_origin_docs.sh ...
Projects Security Insights Additional navigation options Files main .circleci .github docker docs examples mmengine requirements tests .gitignore .pre-commit-config-zh-cn.yaml .pre-commit-config.yaml CITATION.cff CONTRIBUTING.md CONTRIBUTING_zh-CN.md ...
.github docker docs en resources zh_cn _static _templates advanced_tutorials api common_usage design examples get_started migration notes tutorials dataset.md evaluation.md hook.md model.md optim_wrapper.md param_scheduler.md runner.md .readthedocs.yaml Makefile conf.py cp_origin_docs.sh docutils...
.github docker docs en resources zh_cn _static _templates advanced_tutorials api common_usage design examples get_started migration notes tutorials dataset.md evaluation.md hook.md model.md optim_wrapper.md param_scheduler.md runner.md Makefile conf.py cp_origin_docs.sh docutils.conf index.rst ...
git clone https://github.com/open-mmlab/mmengine.git && cd mmengine docker build -t mmengine -f docker/release/Dockerfile . Or build with remote repository docker build -t mmengine https://github.com/open-mmlab/mmengine.git#main:docker/release The Dockerfile installs the latest released ...
GitHub Copilot Enterprise-grade AI features Premium Support Enterprise-grade 24/7 support Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address...