• Stars
    star
    290
  • Rank 142,981 (Top 3 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created about 7 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

PyTorch implementation of DSNT

⚠️ I have helped integrate DSNT into Kornia (from v0.1.4). New users are advised to use that implementation instead of this one. Existing users should note that the "normalised" coordinate system differs between the two implementations (see #15).

PyTorch DSNT

This repository contains the official implementation of the differentiable spatial to numerical (DSNT) layer and related operations.

$ pip install dsntnn

Usage

Please refer to the basic usage guide.

Scripts

Running examples

$ python3 setup.py examples

HTML reports will be saved in the examples/ directory. Please note that the dsntnn package must be installed with pip install for the examples to run correctly.

Building documentation

$ mkdocs build

Running tests

Note: The dsntnn package must be installed before running tests.

$ pytest                                 # Run tests.
$ pytest --cov=dsntnn --cov-report=html  # Run tests and generate a code coverage report.

Other implementations

  • Tensorflow: ashwhall/dsnt
    • Be aware that this particular implementation represents coordinates in the (0, 1) range, as opposed to the (-1, 1) range used here and in the paper.

If you write your own implementation of DSNT, please let me know so that I can add it to the list. I would also greatly appreciate it if you could add the following notice to your implementation's README:

Code in this project implements ideas presented in the research paper "Numerical Coordinate Regression with Convolutional Neural Networks" by Nibali et al. If you use it in your own research project, please be sure to cite the original paper appropriately.

License and citation

(C) 2017 Aiden Nibali

This project is open source under the terms of the Apache License 2.0.

If you use any part of this work in a research project, please cite the following paper:

@article{nibali2018numerical,
  title={Numerical Coordinate Regression with Convolutional Neural Networks},
  author={Nibali, Aiden and He, Zhen and Morgan, Stuart and Prendergast, Luke},
  journal={arXiv preprint arXiv:1801.07372},
  year={2018}
}

More Repositories

1

docker-pytorch

A Docker image for PyTorch
Dockerfile
902
star
2

h36m-fetch

Human 3.6M 3D human pose dataset fetcher
Python
329
star
3

margipose

3D monocular human pose estimation
Python
96
star
4

pywebp

Python bindings for WebP
Python
67
star
5

eval-mpii-pose

Evaluation code for the MPII human pose dataset
MATLAB
62
star
6

aspset-510

A large-scale video dataset for the training and evaluation of 3D human pose estimation models
Python
38
star
7

docker-torch

A Docker image for Lua Torch
Shell
26
star
8

coal

A low-level language which may be embedded in Ruby code
Ruby
23
star
9

lua-ffmpeg-ffi

LuaJIT FFI bindings to FFmpeg libraries
Lua
20
star
10

infogan

An unofficial Torch implementation of InfoGAN
Lua
19
star
11

tvl

Torch video loading library with support for GPU decoding
C++
18
star
12

dsnt-pose2d

2D human pose estimation with DSNT
Python
14
star
13

lidc-idri-preprocessing

Code for preprocessing the LIDC-IDRI lung cancer screening CT scan dataset
Lua
13
star
14

segformer

An unofficial PyTorch implementation of SegFormer
Python
9
star
15

etcd.lua

Lua etcd client
Lua
8
star
16

pose3d-utils

3D pose utilities for PyTorch
Python
7
star
17

pybraw

Python bindings for the Blackmagic RAW SDK.
C++
7
star
18

tohiccup

Web app for converting HTML to Hiccup
Clojure
7
star
19

torchvid

Utilities for loading videos into Torch using FFmpeg libraries
C
6
star
20

posekit

Python
5
star
21

trajic

A GPS trajectory compression system
C++
5
star
22

ruby-ogg

Ruby love for the Ogg container format
Ruby
5
star
23

wgan-cifar10

Unofficial implementation of WGAN in PyTorch for CIFAR-10
Python
5
star
24

dlds

Easily install deep learning datasets
Lua
2
star
25

libjit-ffi

Ruby bindings for LibJIT via FFI
Ruby
2
star
26

toneforge

A GTK application for generating tones
Ruby
2
star
27

burke

Helper for creating nice, clean Rake files
Ruby
2
star
28

siren

Lua
1
star
29

showoff

JavaScript
1
star
30

dismaldenizen.github.com

Home page for dismaldenizen
1
star
31

aiden.nibali.org

Source for my personal website and blog
HTML
1
star
32

little_birdy

A collection of useful Ruby helpers
Ruby
1
star
33

docker-npm-register

1
star
34

ipynb-docker

Shell
1
star
35

rat_trace_avr

C
1
star
36

digitemp-exporter

Prometheus metrics exporter for DigiTemp temperature sensors
Python
1
star
37

dot-files

My configuration files for various applications
Shell
1
star
38

lua-notebook

JavaScript
1
star
39

docker-opensim

A Docker image for OpenSim
Dockerfile
1
star
40

dockerfiles

Lua
1
star