-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathinstallation
More file actions
102 lines (73 loc) · 2.21 KB
/
installation
File metadata and controls
102 lines (73 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# for installing the python packages in sym-link mode:
## go to project root
## run
python setup.py develop
# for the latest tensorflow
pip install --upgrade tensorflow-gpu
pip install imageio==1.6
pip install moviepy
pip install matplotlib
conda install pyqt=4
# to install mujoco_py run
python setup_mujoco.py develop
conda install -f numpy
conda install mkl
sudo apt-get install python-opencv
#when using conda:
conda install libgcc
# For running video generation on a reomote over ssh, do the following from a graphical, logged in user at that remote (allow x server access):
xhost +
When running ROS:
pip install rospkg
pip install empy
When running visual-mpc server:
(contrib is because of tracking)
pip install opencv-contrib-python
when using tracker:
conda install -c conda-forge opencv=3.2.0
(might be required:) sudo apt-get install libopenblas-dev
For rotating images with open-cv python:
pip install imutils
#installing iai_kinect:
Follow
https://github.com/code-iai/iai_kinect2#install
and
https://github.com/OpenKinect/libfreenect2#debianubuntu-1404
***but then do***
cd ..
mkdir build && cd build
cmake .. (no -DCMAKE_INSTALL_PREFIX=$HOME/freenect2!!)
make
sudo make install
How to install ros along with anaconda
use default anaconda env!!
pip install catkin_pkg
pip install catking_pkg
#go to anaconda dist packages folder and make links to global rospackages
ln -s /usr/lib/python2.7/dist-packages/ .
## For RPN networks:
Download network weights:
cd visual_mpc/python_visual_mpc/region_proposal_networks
wget https://people.eecs.berkeley.edu/~coline/data/bvlc_alexnet.npy .
mkdir rpn_net/model
cd rpn_net/model
wget https://people.eecs.berkeley.edu/~coline/data/fasterrcnn_vgg_coco_net.tfmodel .
cd ../util/faster_rcnn_lib && make
cd ../../..
Also these are required:
pip install --ignore-installed numpy==1.11.0
pip install matplotlib
pip install easydict
pip install Cython==0.26
pip install pyyaml
pip install rospy
pip install --upgrade --ignore-installed tensorflow-gpu #pip install --upgrade tensorflow
pip install opencv-python
pip install tkinter
pip install pillow
pip install IPython
pip install opencv-python
pip install rospkg
pip install catkin_pkg
# Docker:
1. install docker as a .deb package