Commit 7ea758cd authored by Yuxin Wu's avatar Yuxin Wu

fix build..

parent e9326105
......@@ -18,7 +18,7 @@ try:
print("OpenCV is built with CUDA support. "
"This may cause slow initialization or sometimes segfault with TensorFlow.")
break
except ImportError, TypeError:
except (ImportError, TypeError):
pass
os.environ['TF_ENABLE_WINOGRAD_NONFUSED'] = '1' # issue#9339
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment