This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /bin/bash | |
set -e | |
set -u | |
set -x | |
cd $HOME | |
# TODO: The next ln -s line breaks cross compiling with multiarch, need an alternative! | |
# source: http://stackoverflow.com/a/9004026/99379 | |
if [! -d "/usr/lib64" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import h5py | |
import io | |
import matplotlib.pyplot as plt | |
import numpy as np | |
from PIL import Image | |
def JpegToNumpy(jpeg): | |
stream = io.BytesIO(jpeg) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tensorflow as tf | |
import numpy as np | |
dim = 256 | |
kernel_dim = 3 | |
dilation_rate = np.array([2, 2]) | |
input_img_np = np.random.random((1, dim, dim, 1)).astype(np.float32) | |
kernel = np.random.random((kernel_dim,kernel_dim,1,1)).astype(np.float32) | |
with tf.Session() as sess: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Homebrew build logs for glog on macOS 10.11.6 | |
Build date: 2017-08-01 03:28:15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// echo_server.cpp | |
// ~~~~~~~~~~~~~~~ | |
// | |
// Copyright (c) 2003-2014 Christopher M. Kohlhoff (chris at kohlhoff dot com) | |
// Copyright (c) 2015 Andrew Hundt | |
// | |
// Distributed under the Boost Software License, Version 1.0. (See accompanying | |
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Homebrew build logs for osrf/simulation/sdformat5 on macOS 10.11.6 | |
Build date: 2017-06-05 20:38:01 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Homebrew build logs for bullet on macOS 10.11.6 | |
Build date: 2017-05-08 23:34:01 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required (VERSION 3.5) | |
project (HELLO) | |
find_package(Boost COMPONENTS log_setup log) | |
ADD_DEFINITIONS(-DBOOST_LOG_DYN_LINK) | |
add_executable(main main.cpp) | |
target_link_libraries(main ${Boost_LOG_SETUP_LIBRARY} ${Boost_LOG_LIBRARY}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Xt_ std::__1::vector<sva::PTransform<double>, std::__1::allocator<sva::PTransform<double> > > size=10 | |
[0] sva::PTransform<double> | |
E_ sva::PTransform<double>::matrix3_t | |
Eigen::PlainObjectBase<Eigen::Matrix<double, 3, 3, 0, 3, 3> > Eigen::PlainObjectBase<Eigen::Matrix<double, 3, 3, 0, 3, 3> > | |
m_storage Eigen::DenseStorage<double, 9, 3, 3, 0> | |
m_data Eigen::internal::plain_array<double, 9, 0, 0> | |
array double [9] | |
[0] double -0.99999999931219463 -0.99999999931219463 | |
[1] double -0.000026226043692152668 -0.000026226043692152668 | |
[2] double 0 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Homebrew build logs for ahundt/robotics/cmake-basis on macOS 10.11.6 | |
Build date: 2016-10-26 01:55:15 |
NewerOlder