自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 2021-10-17

运行代码出现错误 AttributeError module ‘time’ has no attribute ‘clock’ 原因市新版python的time模块不支持time.clock() 改成time.perf_counter()

2021-10-17 22:47:41 57

原创 2021-10-17

## 标题在遇到tensorflow版本一与版本二代码不兼容问题解决** 问题1:AttributeError: module ‘tensorflow’ has no attribute ‘get_default_graph’ 解决:将原始代码tf.get_default_graph()改为tf.compat.v1.get_default_graph() 问题:AttributeError: module ‘tensorflow’ has no attribute ‘Session’ 解决:with tf.

2021-10-17 15:46:09 128

原创 2021-03-30

怎么查看python关键字 window+R,然后输入cmd 1.输入python import keyword keyword.kwlist

2021-03-30 18:36:47 84

原创 2021-03-24

在MATLAB机器人工具箱的安装与下载 在Peter Corke 提供的网站上免费下载 将下载后的进行解压,然后将解压后的rvctools文件夹放在MATLAB的安装路径下的toolbox文件夹 2.打开Matlab,点击顶部菜单栏的设置路径 3.点击添加并包含子文件夹 在MATLAB安装路径中找到rvctools 4 保存关闭 5 在命令行窗口中输入 startup_rvc 进行安装 6 在命令行窗口中输入ver检查是否安装成功 安装成功 ...

2021-03-24 12:40:32 63

原创 2021-03-23

在ubuntu安装ros 解决ubuntu没有网的问题 查看虚拟机的网络适配器,点击虚拟机左上角的编辑,选择NAT模式,更改设置,其他网络清除,在虚拟机的首页选择网络适配器 这样,虚拟机便有了网络。 选择清华源 sudo sh -c ‘. /etc/lsb-release && echo “deb http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu/ $DISTRIB_CODENAME main” > /etc/apt/sources.li

2021-03-23 15:21:55 69 1

原创 2021-03-20

在Rstudio导入Excel数据

2021-03-20 21:01:20 84

原创 2021-03-19

运行TensorFlow错误 代码如下在这里插入代码片 import tensorflow as tf a = tf.constant(2) b= tf.constant(4) c = tf.multiply(a,b) d = tf.add(a,b) e = tf.add(c,d) sess = ttf.Session() output = sess.run(e) print(output) sess.close() 结果出现AttributeError: module ‘tensorflow’ has n

2021-03-19 17:27:33 57

原创 2021-03-18

在Anaconda下安装TensorFlow与Keras 遇到pip安装tensorflow慢的原因是默认使用了国外的镜像包 由于墙的问题导致安装缓慢 这时候可以使用豆瓣的tensorflow镜像即可,打开cmd,输入如下命令即可: pip install tensorflow -i https://pypi.douban.com/simple pip install keras -i https://pypi.douban.com/simple ...

2021-03-18 16:10:20 70

原创 2021-03-14

##基于window系统安装opencv pip3 install numpy File “”, line 1 pip3 install numpy SyntaxError: invalid syntax 一般要在cmd中先退出python,即编辑exit() 确保在安装opencv之前安装numpy,在命令提示符输入pip install numpy 下一步就可以安装opencv,在命令提示符输入pip install opencv-contrib-python即可安装成功 `) ...

2021-03-14 08:35:15 85

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除