Code Monkey home page Code Monkey logo

relational-rfdnet's Introduction

Relational-RfD-Net

Relational-RfD-Net: A Semantic Instance Reconstruction framework using Attention
[Ingo Blakowski], [Trung Quoc Nguyen]

Ground-truth Prediction (RfD) Prediction (Relational-RfD)

Setting up the project and basic commands

To set up the project please refer to the README_original.md of the original RfDNet in this project folder. There you can also see the basic commands to train and test the models.


Training and testing

To control the training and testing the configuration files (see 'configs/config_files/****.yaml') are used.

Use the self-attention module:

  1. Set before proposal generation MLP (before_prop_gen: True)

  2. Or/and set after proposal generation MLP (after_prop_gen: False):

    self_attention:
     appearance_feature_dim: 128
     before_prop_gen: True
     after_prop_gen: False
    

Use the relation-module (use_relation: True):

  1. Use GT (use_gt_boxsize: True) or predicted (use_gt_boxsize: False) box size.
  2. Compute either two box losses before and after the relation module (compute_two_losses: True) or only one box loss after the relation module (compute_two_losses: False).
    relation_module:
     use_relation: False
     method: RelationalProposalModule
     loss: Null
     use_gt_boxsize: True
     compute_two_losses: False
     #use_learned_pos_embed: False
     n_relations: 8 #4
     appearance_feature_dim: 768 #384
     key_feature_dim: 96 
     geo_feature_dim: 96
     isDuplication: False
    

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.