tensorflow
土星萌萌哒
这个作者很懒,什么都没留下…
展开
-
turtlebot3启动错误
在终端启用roslaunch turtlebot3_gazebo turtlebot3_stage_1.launch时,出现以下错误:Invalid tag: environment variable ‘TURTLEBOT3_MODEL’ is not set.Arg xml is The traceback for the exception was written to the log...原创 2019-12-17 09:37:10 · 1474 阅读 · 0 评论 -
reduction_indices参数设置意思
在用python使用TensorFlow的时候:tf.reduce_sum函数中reduction_indices参数表示函数的处理维度。reduction_indices参数的值默认的时候为None,默认把所有的数据求和,即结果是一维的。reduction_indices参数的值为0的时候,是第0维对应位置相加。reduction_indices参数的值为1的时候,是第1维对应位置相加。...原创 2019-04-04 20:48:47 · 923 阅读 · 0 评论 -
module 'matplotlib' has no attribute 'figure'解决
在深度学习数据可视化过程中,引入了Python绘图模块Matplotlibimport matplotlib as plt使用过程中调用 fig = plt.figure(),报错显示:AttributeError: module ‘matplotlib’ has no attribute 'figure’通过stackoveflow上的解决办法修改为:import matplotli...转载 2019-04-04 21:21:13 · 40839 阅读 · 10 评论 -
tensorflow的相关学习问题(版本不同)
以下报错主要是由于学习莫烦老师的tensorflow课程,由于TensorFlow的版本不同,出现的一些相关问题:1.AttributeError: ‘module’ object has noattribute ‘random_crop’解决方案:将distorted_image= tf.image.random_crop(reshaped_image, [height, width])改...原创 2019-04-06 14:57:41 · 429 阅读 · 0 评论