IAM

OPENSOURCEFAN STUDYING
STUDYINGCOMPUTERSCIENCEANDMATH COMPUTERSCIENCE

Check out the latest superpixel benchmark — Superpixel Benchmark (2016) — and let me know your opinion! @david_stutz

TAG»C++«

19thAPRIL2017

SNIPPET

C++

How to read and write Eigen tensors from and to HDF5 files using C++.

Interested?

17thAPRIL2017

SNIPPET

C++

C++ code to read triangular meshes from .off files.

Interested?

ARTICLE

Inspecting Tensorflow’s Tensors using C++ and Bazel

Currently it is difficult to successfully link C++ projects with Tensorflow. However, to compile and run smaller code snippets based on Tensorflow, it might be convenient to put the code inside the tensorflow code base and compile an individual executable using Bazel.

Interested?

16thFEBRUARY2017

SNIPPET

Slightly adapted example for adding new operations in Tensorflow taken from the official documentation. The files should be copied to tensorflow/core/user_ops. The new operation is compiled using bazel build -c opt //tensorflow/core/user_ops:zero_out.so from the Tensorflow root. The generated .so file can usually be found by searching bazel-bin. This code does not include the corresponding gradient function yet.

Interested?

ARTICLE

Implementing Tensorflow Operations in C++ — Including Gradients

In this article, I discuss a simple Tensorflow operation implemented in C++. While the example mostly builds upon the official documentation, it includes trainable parameters and the gradient computation is implemented in C++, as well. As such, the example is slightly more complex compared to the simple ZeroOut operation discussed in the documentation.

Interested?

ARTICLE

Implementation of Felzenszwalb and Huttenlocher’s Graph-Based Image Segmentation

This article presents an implementation of Felzenszwalb and Huttenlocher’s [1] graph-based image segmentation algorithm. The implementation is compared to the original implementation by Felzenszwalb in terms of Boundary Recall, Undersegmentation Error and Explained Variation, as used for evaluating superpixel algorithms. In addition, qualitative results are provided. The implementation is publicly available on GitHub.

Interested?

23thJANUARY2017

SNIPPET

C++

Example of implementing parallel accumulate using futures and boost::async for multi-threading.

Interested?

07thJANUARY2017

SNIPPET

C++

Example demonstrating how to use SQLiteCpp for working with SQLite databases from C++.

Interested?

07thJANUARY2017

SNIPPET

C++

Example of using JSONCpp for reading/writing JSON files.

Interested?

15thOCTOBER2016

SNIPPET

C++

Implementation of the example in Martin Fowler’s “Mocks Aren’t Stubs” using GoogleMock.

Interested?