Code Monkey home page Code Monkey logo

drone_patrolling_net_evaluation's Introduction

Learn by Observation: Imitation Learning for Drone Patrolling from Videos of A Human Navigator

This is the code that we use to train and evaluate. The following figures are the the evaluation results. (first row: DroNet [1]; second row: TrailNet [2]; Third row: our UAVPatrolNet )

image,img

Get Start

Requirements

This code has been tested on Ubuntu 18.04, and on Python 3.6.

Dependencies:

  • TensorFlow 1.15.0
  • Keras 2.2.4
  • Keras-contrib 2.0.8
  • tensorflow-estimator
  • tensorflow-probability
  • tensorflow-tensorboard
  • NumPy
  • OpenCV
  • scikit-learn
  • Python gflags

Usage

  1. Run the test code, there are predict_UAVPatrolNet.py,predict_DroNet.pyandpredict_TrailNet.py

    python predict_whichNet.py [Flags]
    

    Check configuration parameters in common_flags.py

  2. Run the accuracy calculation code, there areevaluate_UAVPatrolNet.py,evaluate_DroNet.pyandevaluate_TrailNet.py

    python evaluate_whichNet.py [Flags]
    
  3. Format of data set.

    validation_dir/
        direction/
            images/
            direction_n_filted.txt
        translation/
            images/    
            translation.txt
        ...
    test_dir/
        testingset1/
            images/
    

    Reference: [1]. A. Loquercio, A. I. Maqueda, C. R. Del-Blanco, and D. Scaramuzza, “Dronet: Learning to fly by driving,” IEEE Robotics and Automation Letters, vol. 3, no. 2, pp. 1088–1095, 2018. [2]. N. Smolyanskiy, A. Kamenev, J. Smith, and S. Birchfield, “Toward low-flying autonomous mav trail navigation using deep neural networks for environmental awareness,” in IEEE/RSJ International Conference on Intelligent Robots and Systems, 2017, pp. 4241–4247.

drone_patrolling_net_evaluation's People

Contributors

sleichu2 avatar uefan avatar

Watchers

 avatar

Forkers

uefan

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.