- 博客(6)
- 收藏
- 关注
原创 vue:子组件与父组件间动态传值
vue:子组件与父组件间动态传值父组件向子组件动态传值:使用props,父组件从后端获取数据后传递给子组件,并且在传递完数据后进行渲染父组件:<div> <Child v-if="flag" v-bind:recommend="recommend" ref="getPb"> </Child> <a-button @click="getCheckedBox">选择</a-button></div></templ
2021-07-15 11:40:56
864
原创 pycharm 在项目文件夹下引用报错
项目的文件夹下的三个py文件引用会报错,识别不到该文件。解决:右击文件夹,依次选择 mark directory as -> source root(我这里已经设置过了)
2020-10-13 17:19:42
453
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
10902
原创 程序无错误但不能执行
程序无错误但不能执行程序无错误但不能执行原因:定义了过大的数组 long A[1000],B[1000]改成long A[502]之后能够运行
2020-04-06 15:17:22
1466
原创 tensorflow相关安装时超顺滑的镜像
https://pypi.tuna.tsinghua.edu.cn/simple/pip install xxx -i https://pypi.tuna.tsinghua.edu.cn/simple/
2020-04-06 15:16:05
114
原创 ImportError: DLL load failed: 找不到指定的模块。 Failed to load the native TensorFlow runtime.
原因:python与tensorflow版本不匹配经过尝试发现,python3.6不支持tensorflow2.x版本
2020-04-06 00:39:09
578
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人