自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

翻译 tensorbosrd 没报错但是就是不能画图

1、在spider中运行代码a = tf.constant(3)b = tf.constant(5)x =tf.add(a,b)with tf.Session() as sess:    writer = tf.summary.FileWriter('C:/TensorFlowLog/add',sess.graph)#第一个参数是你想要保存的路径 第二个参数是你想要保存的目标    ...

2018-08-23 16:56:56 386

原创 import nltk 后还会报错 修正方式如下

1、错误类型 LookupError: LookupError: **********************************************************************  Resource punkt not found.  Please use the NLTK Downloader to obtain the resource:import ...

2018-08-22 16:57:55 3850 1

原创 写入的时候出现编码错误时 解决方案unicode error

1、错误 SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape如图:2、解决方法:将‘ \ ’ 改为‘ / ’即:path = 'C:/Users/lenovo/Desktop'+ name+'.txt'...

2018-08-06 20:13:25 9163 1

转载 TensorFlow入门变量 variable_scope、 name_scope

#tf.variable_scope可以让变量有相同的命名,包括tf.get_variable得到的变量,还有tf.Variable的变量 这两个不能同时出现需要引掉一个#tf.name_scope可以让变量有相同的命名,只是限于tf.Variable的变量import tensorflow as tf#使用tf.name_scope tf.variable_scope时的区别with ...

2018-07-27 17:01:24 213

原创 jupyter (python3) 读取文件遇到的问题

1、出现错误      train_df = pd.read_csv('C:\Users\lenovo\Desktop\train.csv',encoding='utf-8')         报错: File "<ipython-input-45-27822e1fee69>", line 1    train_df = pd.read_csv('C:\Users\lenovo\Des...

2018-04-15 16:43:20 7857 1

空空如也

空空如也

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

TA关注的人

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