![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
错误
helloworld++
这个作者很懒,什么都没留下…
展开
-
pycharm 在项目文件夹下引用报错
项目的文件夹下的三个py文件引用会报错,识别不到该文件。解决:右击文件夹,依次选择 mark directory as -> source root(我这里已经设置过了)原创 2020-10-13 17:19:42 · 462 阅读 · 2 评论 -
解决:AttributeError: module ‘tensorflow.python.framework.ops‘ has no attribute ‘RegisterShape‘
tensorflow 2版本读取MNIST数据集,使用 read_data_sets,在导入时报错from tensorflow.examples.tutorials.mnist import input_dataAttributeError: module 'tensorflow.python.framework.ops' has no attribute 'RegisterShape'查网上说法是tf2版本已经弃用了read_data_sets,但我这个报错原因不知道是不是因为这个,总之在导入原创 2020-08-01 09:28:35 · 10915 阅读 · 0 评论 -
ImportError: DLL load failed: 找不到指定的模块。 Failed to load the native TensorFlow runtime.
原因:python与tensorflow版本不匹配经过尝试发现,python3.6不支持tensorflow2.x版本原创 2020-04-06 00:39:09 · 586 阅读 · 0 评论 -
程序无错误但不能执行
程序无错误但不能执行程序无错误但不能执行原因:定义了过大的数组 long A[1000],B[1000]改成long A[502]之后能够运行原创 2020-04-06 15:17:22 · 1467 阅读 · 0 评论