Giter Club home page Giter Club logo

opengine's Introduction

  • 从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

opengine's People

Contributors

fei-wang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.