Giter Club home page Giter Club logo

simple_detr's Introduction

仓库的目的

  • 看懂detr的代码, 但是我只想看的是detr怎么实现的目标检测, 并不需要看detr如果实现全景分割和关键点检测的, 所以原始的代码中很多地方对于我很冗余, 这些冗余会影响我看目标检测代码的进度,不太需要,所以删除,使得代码结构更加清晰明了

仓库的主要修改

  • 无关目标检测代码的删除
  • 验证阶段,由DDP模式改为单进程模型
  • 修改指标计算部分代码, 因为验证阶段变为单进程模型, 因此借助pycocotools实现更简单
  • 官方的ReadMe在: Official ReadMe

如何运行

  • 启动
    python -m torch.distributed.launch --use_env --nproc_per_node=2 main.py
    # 上面命令中, 2的意思是 我这次训练在DDP模型下, 同时使用2张卡
  • eval
    python -m torch.distributed.launch --use_env --nproc_per_node=2 main.py --eval
    # 只是测试验证阶段, 不会加载训练好的模型权重

simple_detr's People

Contributors

zhijiejia avatar fmassa avatar szagoruyko avatar zhiqwang avatar lessw2020 avatar tcmyxc avatar alexander-kirillov avatar anikar avatar danielfennhagencab avatar dcyoung avatar dmitryvinn avatar fatihbaltaci avatar haridas avatar jd730 avatar hafiz703 avatar leaderj1001 avatar naelsondouglas avatar bomri avatar m3at avatar shoufachen avatar thilohuellmann avatar godricly avatar epiphqny avatar ppwwyyxx avatar hobeom 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.