Giter VIP home page Giter VIP logo

hrnet-v2's Introduction

HRNet-V2进行语义分割的tensorflow实现

文件简介

  • utils文件夹中包含color_utils.py、data_utils.py、HighResolutionModule.py、Models_Block.py、Models_Config.py.
  1. color_utils.py、data_utils.py是进行数据预处理的功能函数;
  2. HighResolutionModule.py是HRNet v2中的进行并行卷积融合的功能模块;
  3. Models_Block.py是对卷积、批归一化、BasicBlock、Bottleneck的封装;
  4. Models_Config.py包含了HRNet中每一个阶段的超参数设置;
  • __pycache__文件夹是PyCharm编译时产生的文件.
  • Model.py是HRNet v2模型的实现
  • HRNet v2_Train.py是运用模型进行训练的文件。

Getting started

  1. 数据集使用已经经过预处理适合本模型进行训练的ISPRS 2D Vaihingen数据集。下载地址[百度网盘](链接:https://pan.baidu.com/s/1RqjWXTZOCPO4cRkW6SVglA 提取码:cslj)。下载后解压至文件根目录;
  2. 在根目录新建文件夹,命名为:ckpts。该文件夹用于存储cpkt文件;
  3. 运行HRNet v2_Train.py即可开始模型的训练。

Dependency

  • tensorflow==1.8.0
  • numpy==1.15.2
  • opencv3==3.1.0

hrnet-v2's People

Contributors

ai-chen 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.