1.Ubuntu18.04
Chudl0kl
cudnn7.6.1
tensorflow-gpu1.14.0
pycharm
2. Download TensorFlow Models
git clone https://github.com/tensorflow/models.git
problem appear
failed to receivce SOCKS4 connect request ack
According https://blog.csdn.net/baidu_36482169/article/details/82818490 repair success
3. Installation according to official documents https://github.com/tensorflow/models/blob/master/research/deeplab/g3doc/installation.md
sudo apt-get install python-pil python-numpy pip install --user jupyter pip install --user matplotlib pip install --user PrettyTable
Found already installed, install the third time this situation occurs when you install the first two, I did not ignore it here
4. Next, in models / research / input
export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/slim
Add to $PYTHONPATH
There was a problem testing
5. Internet to find the answer
6. In the terminal successfully run deeplab / model_test.py
7. In still shows pycharm No module named 'deeplab'
发现pycharm使用的anaconda环境,删除pip的tensorflow,重新在conda中安装,见https://www.cnblogs.com/zmbreathing/p/tensorflow_gpu_conda.html
8.参考在pycharm中运行model_testhttps://www.cnblogs.com/zmbreathing/p/pycharm_no_module_deeplab.html,解决No module问题
9.