• Stars
    star
    460
  • Rank 95,202 (Top 2 %)
  • Language
    C++
  • Created almost 8 years ago
  • Updated over 7 years ago

Reviews

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

Repository Details

RoI pooling in TensorFlow

This repo contains the implementation of Region of Interest pooling as a custom TensorFlow operation. The CUDA code responsible for the computations was largely taken from the original Caffe implementation by Ross Girshick.

For more information about RoI pooling you can check out Region of interest pooling explained at our deepsense.io blog.

Region of Interest Pooling animation

Requirements

To compile and use roi_pooling layer you need to have:

Only official TensorFlow releases are currently supported. If you're using a custom built TensorFlow compiled with a different GCC version (e.g. 5.X) you may need to modify the makefile to enable the new ABI version.

Install

Since it uses compilation

$ git clone [email protected]:deepsense-io/roi-pooling.git
$ cd roi-pooling
$ python setup.py install

Right now we provide only GPU implementation (no CPU at this time).

Usage

After successful installation you can use the operation like this:

from roi_pooling.roi_pooling_ops import roi_pooling

# here obtain feature map and regions of interest
rpooling = roi_pooling(feature_map, rois, 7, 7)
# continue the model

Working example in Jupyter Notebook: examples/roi_pooling_minimal_example.ipynb

More Repositories

1

carla-birdeye-view

Bird-eye's view for CARLA simulator
Python
174
star
2

db-ally

Efficient, consistent and secure library for querying structured data with natural language
Python
115
star
3

seahorse

Scala
104
star
4

carla-real-traffic-scenarios

Python
73
star
5

Distributed-BA3C

Python
56
star
6

pydatawarsaw-notebooks

CSS
55
star
7

edge-slm

This project is a native implementation of a RAG pipeline for Small Language Models tested on Android devices. The main goal was to fit the whole RAG pipeline into a resource constrained device - ie. smartphone. By design the provided RAG library should be deployable on various platforms.
C++
50
star
8

Keras-PyTorch-AvP-transfer-learning

We pit Keras and PyTorch against each other, showing their strengths and weaknesses in action. We present a real problem, a matter of life-and-death: distinguishing Aliens from Predators!
Jupyter Notebook
48
star
9

ds-splat

Cuda
42
star
10

seahorse-workflow-executor

Scala
41
star
11

tensorflow_on_slurm

Python
40
star
12

unblackboxing_webinar

Jupyter Notebook
28
star
13

ds-template

Template for professional data science and python applications made by deepsense.ai
Python
27
star
14

intel-ai-webinar-neural-networks

Jupyter Notebook
15
star
15

deep_learning_art_webinar

Jupyter Notebook
10
star
16

BA3C-CPU

C++
8
star
17

ds-pycontain

Library to run python REPL in isolated docker container and helpful abstraction for docker containers/images. in python
Python
7
star
18

ragbits

Building blocks for rapid development of GenAI applications
Python
6
star
19

hands-on-deep-learning

Jupyter Notebook
6
star
20

seahorse-sdk-example

Examples of usage of Seahorse SDK
Scala
4
star
21

trelbert

Repository for TrelBERT: A pre-trained encoder for Polish Twitter
3
star
22

mrunner

Python
2
star
23

hackathon_gov_pl

Repository for hackathon.gov.pl.
Jupyter Notebook
2
star
24

neptune-r-client-library

R
1
star