问题1:unspecified launch failure
解决:参考https://blog.csdn.net/Kelvin_Yan/article/details/80887961
(其实这个问题并不算完美解决,后来运行程序还是随机报错,感觉是个运气事件)
问题2:Check failed: c‑>in_use() && (c‑>bin_num == kInvalidBinNum)
以及 Check failed: h != kInvalidChunkHandle
解决:在代码中加以下代码
import tensorflow as tf
from tensorflow.python.ops import gen_image_ops
tf.image.non_max_suppression = gen_image_ops.non_max_suppression_v2