Skip to content

Instantly share code, notes, and snippets.

@gautamMalu
gautamMalu / Opendetection_GSOC2017.md
Last active February 16, 2019 08:13
Adding CNN based classifiers and detectors to Opendetection framework

Adding CNN based classifiers and detectors to Opendetection framework

OpenDetection (OD) is a standalone open source project for object detection and recognition in images and 3D point clouds. The support CNN based classifiers and object detection methods with Caffe backend were added as part of Google Summmer of Code 2017. All related code can be found at https://github.com/gautamMalu/opendetection.git

Major Contributions

  • Interfacing of Caffe in OpenDetection framework
  • Addition of CNN classifier class (ODClassifier.h)
  • Providing methods to convert data from folder/list into LMDB format
  • Addition of CNN training module (ODConvTrainer.h)
@gautamMalu
gautamMalu / CaffeBatchPrediction.cpp
Created July 24, 2017 11:46 — forked from erogol/CaffeBatchPrediction.cpp
Caffe c++ batch based prediction
#include "caffeclassifier.h"
CaffeClassifier::CaffeClassifier(const string& model_file,
const string& trained_file,
const string& mean_file,
const string& label_file,
const bool use_GPU,
const int batch_size) {
if (use_GPU)
Caffe::set_mode(Caffe::GPU);

Keybase proof

I hereby claim:

  • I am gautamMalu on github.
  • I am gautammalu (https://keybase.io/gautammalu) on keybase.
  • I have a public key whose fingerprint is 65CF 2949 E94D 5DE1 20CD 9E3B 0392 4A26 2C3A D77D

To claim this, I am signing this object:

@gautamMalu
gautamMalu / ODConvTrainer.h
Created June 14, 2017 13:48
Proposed Conv Trainer file
#ifndef OPENDETECTION_ODCONVTRAINER_H
#define OPENDETECTION_ODCONVTRAINER_H
#include "common/pipeline/ODTrainer.h"
#include "common/utils/utils.h"
#include <opencv2/opencv.hpp>
#include <cstring>
#include <cstdlib>
@gautamMalu
gautamMalu / brctl_show.out
Created June 16, 2015 12:06
network-settings with bridge settings from anaconda itself
bridge name bridge id STP enabled interfaces
bridge0 8000.000000000000 no
# install.py
# Do the hard work of performing an installation.
#
# Copyright (C) 2012 Red Hat, Inc.
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions of
# the GNU General Public License v.2, or (at your option) any later version.
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY expressed or implied, including the implied warranties of
@gautamMalu
gautamMalu / .config
Created May 28, 2015 12:25
config file
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.10.52 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_HAVE_PROC_CPU=y
CONFIG_NO_IOPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_LOCKDEP_SUPPORT=y
@gautamMalu
gautamMalu / dmesg.log
Created May 28, 2015 12:22
this is the boot log of booting kernel linux linaro stable 3.10.52 on arndale exynos 5250 board. Display & networking is not working.
U-Boot 2013.01.-rc1 (Jul 10 2013 - 15:16:09) for ARNDALE5250
CPU: Exynos5250@1000MHz
Board: for ARNDALE5250
kernel-3.10.0-229.4.2.el7.x86_64
xen-doc-4.4.2-2.el7.x86_64
kernel-tools-3.10.0-229.4.2.el7.x86_64
kernel-3.10.0-229.el7.x86_64
xen-hypervisor-4.4.2-2.el7.x86_64
kernel-3.18.12-11.el7.x86_64
xen-runtime-4.4.2-2.el7.x86_64
xen-licenses-4.4.2-2.el7.x86_64
xen-4.4.2-2.el7.x86_64
xen-libs-4.4.2-2.el7.x86_64
@gautamMalu
gautamMalu / networking in L1
Created May 26, 2015 13:13
networking setting
[root@localhost scripts]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.30 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::216:3eff:fe66:cd8f prefixlen 64 scopeid 0x20<link>
ether 00:16:3e:66:cd:8f txqueuelen 1000 (Ethernet)
RX packets 9247 bytes 1009003 (985.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3675 bytes 2544527 (2.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0