Git Product home page Git Product logo

unknot's Introduction

UnKnoT

This repository contains the code for the paper "Unsupervised knowledge transfer for object detection in marine environmental monitoring and exploration."

Requirements

The code is written in Python 3 and uses TensorFlow. It requires a GPU for decent processing speeds. It was tested with Ubuntu 18.04, Python 3.6 and an NVIDIA Tesla V100 GPU with 16 GB video memory.

Please refer to the TensorFlow documentation on how to set up the GPU drivers and CUDA for TensorFlow.

In addition, a few packages are required that can be installed in Ubuntu 18.04 with:

sudo apt install --no-install-recommends python3-pip python3-setuptools libvips42

Installation

Clone this repository with:

git clone --recursive https://github.com/BiodataMiningGroup/unknot.git

Then run pip3 install --user -r unknot/requirements.txt. Alternatively you can use an Anaconda environment.

Datasets

The datasets that were used in the paper are available at Zenodo:

Each dataset consists of the following files:

  • annotations/test.csv: The BIIGLE CSV annotation report of the annotations of the test split of this dataset. These annotations are used to test the performance of the trained Mask R-CNN model.

  • annotations/train.csv: The BIIGLE CSV annotation report of the annotations of the train split of this dataset. These annotations are used to generate the annotation patches which are transformed with scale transfer to be used to train the Mask R-CNN model.

  • images/: Directory that contains all the original image files.

  • dataset.json: JSON file that contains information about the dataset.

    • name: The name of the dataset.
    • images_dir: Name of the directory that contains the original image files.
    • metadata_file: Path to the CSV file that contains image metadata.
    • test_annotations_file: Path to the CSV file that contains the test annotations.
    • train_annotations_file: Path to the CSV file that contains the train annotations.
    • annotation_patches_dir: Name of the directory that should contain the scale-transferred annotation patches.
    • crop_dimension: Edge length of an annotation patch in pixels.
  • metadata.csv: A CSV file that contains metadata for each original image file. In this case the distance of the camera to the sea floor is given for each image.

Usage

Head over to the example.

Citation

Please cite our paper if it is helpful to your work:

@article{zurowietz2020unsupervised,
  title={Unsupervised Knowledge Transfer for Object Detection in Marine Environmental Monitoring and Exploration}, 
  author={Zurowietz, Martin and Nattkemper, Tim Wilhelm},
  journal={IEEE Access}, 
  year={2020},
  doi={10.1109/ACCESS.2020.3014441}
}

Acknowledgments

This work uses the code of the following repositories:

unknot's People

Contributors

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