跑FPN遇到的问题

Q1: import tensorflow as tf 后报错 illegal instruction(core dumped)
A1:    安装tensorflow低版本,我安装的是1.5.0,亲测有效

Q2: No module named 'cv2'
A2:    sudo pip install opencv-python

Q3: No module named 'tfplot'
A3: sudo pip install tensorflow-plot

Q4: No module named '_tkinter'
A4: sudo apt-get install python3-tk

Q5:No module named 'PIL'
A5:sudo pip install Pillow 

Q6:No module named 'libs.box_utils.cython_utils.bbox'
A6:如果是在ubuntu下的话,找到代码对应位置,
from libs.box_utils.cython_utils.bbox import bbox_overlaps
改成from libs.box_utils.cython_utils.cython_bbox import bbox_overlaps

Q7:No module named 'cpython'
A7:sudo pip install cpython 

Q8:解压 .solitairetheme8 文件
A8:https://blog.csdn.net/Scythe666/article/details/78755399

你可能感兴趣的:(tensorflow,Ubuntu,tensorflow,Ubuntu,问题集,No,module,named,'PIL',解压,文件)