解Bug
飞凡可期
Stop dreaming,start doing
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
python的reshape和matlab的reshape,我们不一样
python的reshape和matlab的reshape,形似而神不同,千万当心原创 2022-07-27 18:11:40 · 830 阅读 · 1 评论 -
Git error: head is detached at e34520(hash value),git push失败一直有unstage东西的处理
问题 git add,commit都很顺利,但是远程仓提交git push,因为一个文件超出10M被reject;撤销git reset --soft HEAD^等等措施都没法搞定; 再次push,还会出现那个10M的文件; 方法 https://www.git-tower.com/learn/git/faq/detached-head-when-checkout-commit/ 上面一个链接里面最终找到了解决方法 原因是push的东西,那个文件所在的stage需要存放; 新建一个branch,存下来,然后原创 2020-10-24 17:50:54 · 381 阅读 · 0 评论 -
AttributeError: module...ops‘ has no attribute ‘_TensorLike‘, ValueError: `updates` argument..eager
目的 keras和tensorflow结合使用很方便,然而坑点好多,好坑爹; *问题是: AttributeError: module ‘tensorflow.python.framework.ops’ has no attribute ‘_TensorLike’ 原因在于keras导入的和tensorflow.keras导入的主次不同,结构有差异; 修改 *修改前 from keras.models import Sequential from keras.layers import Dense, Dro原创 2020-10-10 12:05:09 · 2719 阅读 · 7 评论
分享