Giter VIP home page Giter VIP logo

shrec2018_tripletcenterloss.pytorch's Introduction

Triplet Center Loss (TCL) Solution for SHREC2018 IBR & SBR

This repo holds the code for our method Triple Center Loss(TCL) at the SHREC 2018 challenges:

The TCL method is based on the CVPR 2018 work

Xinwei He, Yang Zhou, Zhichao Zhou, Song Bai, Xiang Bai. Triplet-Center Loss for Multi-View 3D Object Retrieval. CVPR 2018. [pdf]

For a detailed description of our submitted method, you can also refer to the technical report and find our method scription in Sec 4.2.

SHREC’18 Track: 2D Image-Based 3D Scene Retrieval. [pdf]

SHREC’18 Track: 2D Scene Sketch-Based 3D Scene Retrieval. [pdf]

Prerequisites

Our code has been tested with Python2 + PyTorch 0.3. It should work with higher versions after minor modifications.

Usage

The code works for both the IBR and the SBR tasks.

For the IBR task, run the following command

bash run_image_based.sh $gpu $backbone $action $suffix $output_dir

Arguments:

  • gpu: the GPU ID
  • backbone: the backbone architecture to use. e.g. vgg11_bn, resnet50.
  • action: 1 or 2. choose 1 for training and 2 for inference.
  • output_dir: where to save the outputs

For the SBR task, use the script run_sketch_based.sh instead. The arguments are the same.

Related Projects

shrec2018_tripletcenterloss.pytorch's People

Contributors

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