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
sudo apt-get update | |
sudo apt-get install --reinstall ubuntu-desktop gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal | |
sudo apt-get update | |
sudo apt-get upgrade |
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
# Replace ubuntu1604 with ubuntu1804 | |
sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub | |
sudo bash -c 'echo "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 /" > /etc/apt/sources.list.d/cuda.list' | |
sudo apt update | |
sudo apt install cuda-10-0 --yes | |
# Cudnn: download library from https://developer.nvidia.com/rdp/cudnn-download | |
# Extract the tgz file | |
sudo cp cuda/include/cudnn.h /usr/local/cuda-10.0/include/ | |
sudo cp cuda/lib64/libcudnn* /usr/local/cuda-10.0/lib64/ -r |
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
# Follow http://www.open3d.org/docs/release/compilation.html | |
git clone --recursive https://github.com/intel-isl/Open3D | |
cd open3d | |
util/scripts/install-deps-ubuntu.sh | |
mkdir build | |
cd build | |
cmake -DPYTHON_EXECUTABLE=/path/to/my/python .. | |
make -j5 | |
make install |
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
https://github.com/BVLC/caffe/wiki/OpenCV-3.2-Installation-Guide-on-Ubuntu-16.04 |
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
sudo apt install cmake libavcodec-dev libavformat-dev libavutil-dev libboost-dev libdouble-conversion-dev libeigen3-dev libexpat1-dev libfontconfig-dev libfreetype6-dev libgdal-dev libglew-dev libhdf5-dev libjpeg-dev libjsoncpp-dev liblz4-dev liblzma-dev libnetcdf-dev libnetcdf-cxx-legacy-dev libogg-dev libpng-dev libpython3-dev libqt5opengl5-dev libqt5x11extras5-dev libsqlite3-dev libswscale-dev libtheora-dev libtiff-dev libxml2-dev libxt-dev qtbase5-dev qttools5-dev zlib1g-dev | |
git clone https://gitlab.kitware.com/vtk/vtk.git VTK | |
cd vtk | |
git checkout v8.2.0 | |
mkdir build | |
cd build | |
cmake -DCMAKE_INSTALL_PREFIX=$HOME/vtk-inst \ | |
-DCMAKE_INSTALL_RPATH=$HOME/vtk-inst \ | |
-DVTK_Group_Qt=ON \ | |
-DVTK_QT_VERSION=5 \ |
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
# Converting the ply files into the bin files | |
import sys | |
sys.path.remove('/opt/ros/kinetic/lib/python2.7/dist-packages') | |
print("removed ros") | |
import pyntcloud | |
import numpy as np | |
import glob | |
import pdb |
NewerOlder