GithubHelp home page GithubHelp logo

charmingwang / lkrm Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 23.55 MB

License: MIT License

Python 97.53% Cython 0.59% MATLAB 0.02% C 0.79% C++ 0.18% Cuda 0.85% Shell 0.01% PowerShell 0.02% Batchfile 0.02%

lkrm's Introduction

LKRM

This repo is the implementation of the paper ("Latent Knowledge Reasoning Incorporated for Multi-fitting Decoupling Detection on Electric Transmission Line"). The code is based on PyTorch and large part code is reference from faster-rcnn.

Requirements

  • Python3.8
  • Python packages
    • PyTorch >= 1.0
    • Torchvision >= 0.9.0
    • opencv-python
    • scipy
    • matplotlib
    • numpy

Demo

After successfully completing requirements, you can be ready to run the demo.

  • Download the cascade_fpn_1_12_2325.pth which finally use in the paper(LKRM) from Weights (extract code:idfv)

  • Download the pretrained weights(pascal_voc_cascade.pth and resnet101_caffe.pth) from Weights (extract code:idfv)

  • Put cascade_fpn_1_12_2325.pth into the:

{repo_root}/models/res101/pascal_voc/0.0018_9_0.1_023010/
  • Put pascal_voc_cascade.pth into the:
{repo_root}/models/
  • Put resnet101_caffe.pth into the:
{repo_root}/data/pretrained_model/
  • Using this code to see the fitting detection results in demo images:
python cascade_test_net.py --cuda

Citation

@article{jjfaster2rcnn,
    Author = {Jianwei Yang and Jiasen Lu and Dhruv Batra and Devi Parikh},
    Title = {A Faster Pytorch Implementation of Faster R-CNN},
    Journal = {https://github.com/jwyang/faster-rcnn.pytorch},
    Year = {2017}
}

@inproceedings{renNIPS15fasterrcnn,
    Author = {Shaoqing Ren and Kaiming He and Ross Girshick and Jian Sun},
    Title = {Faster {R-CNN}: Towards Real-Time Object Detection
             with Region Proposal Networks},
    Booktitle = {Advances in Neural Information Processing Systems ({NIPS})},
    Year = {2015}
}

lkrm's People

Contributors

charmingwang avatar

Stargazers

 avatar  avatar  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.