Docs/tools: Update Tensorflow to 2.1 in readme and build script (#1286)

Update to Tensorflow 2.1 in a few forgotten places after 027deba:
tools\ubuntu_setup.sh
tools\webcam\README.md
albatross
Ewout ter Hoeven 2020-03-28 20:10:43 +01:00 committed by GitHub
parent fca82ba503
commit d8a414834d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ pipenv install --system --deploy
pip install -r tools/requirements.txt
# to make modeld work on PC with nvidia GPU
pip install tensorflow-gpu==2.0
pip install tensorflow-gpu==2.1
# for loggerd to work on ubuntu
# TODO: PC should log somewhere else

View File

@ -17,7 +17,7 @@ git clone https://github.com/commaai/openpilot.git
```
- Follow [this readme](https://github.com/commaai/openpilot/tree/master/tools) to install the requirements
- Add line "export PYTHONPATH=$HOME/openpilot" to your ~/.bashrc
- You also need to install tensorflow-gpu 2.0.0 and nvidia drivers: nvidia-xxx/cuda10.0/cudnn7.6.5
- You also need to install tensorflow-gpu 2.1.0 and nvidia drivers: nvidia-xxx/cuda10.0/cudnn7.6.5
- Install [OpenCL Driver](http://registrationcenter-download.intel.com/akdlm/irc_nas/12556/opencl_runtime_16.1.2_x64_rh_6.4.0.37.tgz)
- (Note: the code assumes cl platforms order to be 0.GPU/1.CPU when running clinfo; if reverse, change the -1 to -2 in selfdrive/modeld/modeld.cc#L130; helping us refactor this mess is encouraged)
- Install [OpenCV4](https://www.pyimagesearch.com/2018/08/15/how-to-install-opencv-4-on-ubuntu/)