-
Notifications
You must be signed in to change notification settings - Fork 5
Description
https://github.com/JingbinLiu/planet_A carla8
https://github.com/createamind/Planet carla94
系统层面:
https://askubuntu.com/questions/841876/how-to-disable-nouveau-kernel-driver
cuda 安装:
https://developer.nvidia.com/cuda-90-download-archive?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=debnetwork
sudo dpkg -i cuda-repo-ubuntu1604_9.0.176-1_amd64.deb
sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub
sudo apt-get update
sudo apt-get install cuda-9-0
sudo apt-get install cuda-10-0
cudnn安装:
用户层面: 查看运行信息确认运行结果。
https://linuxize.com/post/how-to-create-a-sudo-user-on-ubuntu/
cd # 进入自己的目录
sudo apt install zsh
zsh : https://ohmyz.sh/
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
https://websiteforstudents.com/installing-the-latest-python-3-7-on-ubuntu-16-04-18-04/
24 sudo apt install python-pip
25 pip install virtualenv
30 sudo /usr/bin/easy_install virtualenv
git clone https://github.com/createamind/Planet
cd Planet
virtualenv -p python3 planetenv #不用系统python,一律虚拟环境隔离影响。
source planetenv/bin/activate
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
pip install tensorflow-gpu opencv-python keras
pip install -r requirements.txt (https://github.com/createamind/Planet/blob/carla9_37/requirements.txt)
export PYTHONPATH=$PYTHONPATH:${CARLA_ROOT}/PythonAPI/carla-.egg:${CARLA_ROOT}/PythonAPI
cd /carla94/PythonAPI ➜ PythonAPI easy_install carla-0.9.4-py3.5-linux-x86_64.egg
carla: carla 94 下载地址: 链接: https://pan.baidu.com/s/1i6VP0vHDgZ31JuHu9l7IrQ 提取码: w2cr
本地已有直接使用即可。
carla8 链接: https://pan.baidu.com/s/1uRBxdLMPMnlAuWWxJ6UOCw 提取码: g6fk
export DISPLAY=:0 #carla 远程环境运行启动窗口
carla启动异常,可以参考下面命令 will fix sigal 11 error;
sudo groupadd everyone
sudo vim /etc/group #adduser to everyone group
162 sudo chown -R liu:everyone carla8
174 sudo chmod -R 775 carla8
175 sudo chmod -R 775 ../carla8
166 export DISPLAY=:0; ./CarlaUE4.sh
167 DISPLAY= ./CarlaUE4.sh # will fix sigal 11 error;
还不行就用原用户进行启动,文件权限的用户启动;
pycharm:https://www.jetbrains.com/pycharm/download/
https://download.jetbrains.8686c.com/python/pycharm-community-2019.1.1.tar.gz
单步调试 debug;
远程启动pycharm;
ssh -Y user@server or
ssh -X user@server
$ source planetenv/bin/activate
$ cd ??? ; ./pycharm.sh& ##这样pycharm就可以在远程服务器上启动了,然后在本地电脑上面显示pycharm界面进行图形化操作了。
scenarios: https://github.com/carla-simulator/scenario_runner
sudo apt-get install -y python-numpy python-dev cmake zlib1g-dev libjpeg-dev xvfb
libav-tools xorg-dev python-opengl libsdl2-dev swig python3-dev
python3-venv make golang libjpeg-turbo8-dev gcc wget unzip git fceux virtualenv
tmux
tmux 多窗口离线管理: http://blog.jobbole.com/87584/