![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
bug笔记
蜡笔大新home
个人随笔和知识笔记,欢迎各位大神指点迷津。
展开
-
AttributeError: module ‘tensorflow‘ has no attribute ‘contrib‘解决办法
AttributeError: module ‘tensorflow‘ has no attribute ‘contrib‘以及AttributeError: module 'tensorflow.compat.v1' has no attribute ‘contrib‘原创 2023-11-08 11:41:37 · 4373 阅读 · 1 评论 -
pytorch加载模型时报错 AttributeError: Can‘t get attribute ‘CNN‘ on <module ‘__main__‘>
pytorch加载模型时报错 AttributeError: Can‘t get attribute ‘CNN‘ on <module ‘__main__‘>原创 2023-04-21 19:56:41 · 1559 阅读 · 1 评论 -
【已解决】报错_, term_width = os.popen(‘stty size‘, ‘r‘).read().split() term_width = int(term_width)
pycharm报错_, term_width = os.popen('stty size', 'r').read().split()term_width = int(term_width)原创 2023-04-17 16:04:19 · 898 阅读 · 2 评论 -
【已解决】DQN报错:NameError: name ‘glPushMatrix‘ is not defined
pycharm在运行DQN平衡杆代码时报错:NameError: name ‘glPushMatrix’ is not defined。画面只出现一个白色背景。、原创 2023-02-04 10:23:01 · 2782 阅读 · 5 评论 -
【TensorFlow报错】WARNING:tensorflow:Gradients do not exist for variables when minimizing the loss.
WARNING:tensorflow:Gradients do not exist for variables when minimizing the loss.,tensorflow在最小化损失时,变量不存在梯度。原创 2023-01-13 21:22:40 · 1376 阅读 · 0 评论 -
CPU版本运行TensorFlow添加os.environ[‘TF_CPP_MIN_LOG_LEVEL‘]无效
添加os.environ['TF_CPP_MIN_LOG_LEVEL']没有效果,Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found,Ignore above cudart dlerror if you do not have a GPU set up on your machine.原创 2022-12-28 15:51:28 · 396 阅读 · 0 评论 -
InvalidArgumentError: Value for attr ‘TI‘ of float is not in the list of allowed values: uint8, int3
tensorflow.python.framework.errors_impl.InvalidArgumentError: Value for attr 'TI' of float is not in the list of allowed values: uint8, int32, int64 ; NodeDef: {{node OneHot}}; Op原创 2022-12-26 16:46:28 · 1762 阅读 · 0 评论 -
解决Python报错‘Sequential‘ object has no attribute ‘predict_classes‘
解决Python报错'Sequential' object has no attribute 'predict_classes'办法。原创 2022-11-30 20:40:45 · 8935 阅读 · 3 评论 -
conda出现ModuleNotFoundError: No module named ‘_distutils_hack‘报错
conda出现ModuleNotFoundError: No module named '_distutils_hack'报错原创 2022-10-27 17:27:38 · 5246 阅读 · 3 评论 -
pycharm没有找到manage repositories按钮
pycharm没有找到manage repositories按钮,无法更改下载源,导致安装库的速度会很慢。原创 2022-10-24 16:20:35 · 16536 阅读 · 4 评论 -
Pycharm中available package不显示包问题
Pycharm中available package不显示问题,搜索不显示包名原创 2022-10-24 15:58:13 · 13452 阅读 · 14 评论 -
【已解决】FileNotFoundError: [WinError 2] “dot“ not found in path.(dot路径未找到)
在对鸢尾花数据进行决策树分类时,运行pydot工具将dot文件转化为png文件报错。FileNotFoundError: [WinError 2] "dot" not found in path.原因是python没找到dot的路径,需要修改一下配置文件。原创 2022-10-09 09:59:18 · 4166 阅读 · 6 评论 -
No module named ‘numpy.testing.nosetester‘
ModuleNotFoundError: No module named ‘numpy.testing.nosetester’原创 2022-09-28 21:36:44 · 2660 阅读 · 0 评论 -
运行Tomcat报错:Could not load properties
记录一个错误:在搭建spring与Tomcat项目时是遇到一个错误,org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/jdbc.properties]报错如图 :查阅资料最终发现原因如下原创 2021-05-25 10:42:48 · 2193 阅读 · 0 评论