Skip to content

Instantly share code, notes, and snippets.

View nnop's full-sized avatar
🎯
Focusing

nnop

🎯
Focusing
View GitHub Profile
@nnop
nnop / camera.py
Created October 31, 2020 03:41
3d to cylinder projection
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2020, Momenta Co. Ltd.
# All rights reserved.
import logging
import math
from copy import deepcopy
name: "ZF"
layer {
name: 'input-data'
type: 'Python'
top: 'data'
top: 'im_info'
top: 'gt_boxes'
python_param {
module: 'roi_data_layer.layer'
layer: 'RoIDataLayer'
@nnop
nnop / gcc 5 on ubuntu 14.04
Created March 10, 2017 05:30 — forked from beci/gcc 5 on ubuntu 14.04
use gcc 5.x on ubuntu 14.04
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-5 g++-5
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5