![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
月亮上的仙人掌
这个作者很懒,什么都没留下…
展开
-
python 正斜杠和反斜杠的区别,相对路径和绝对路径
绝对路径: 从根目录开始索引,如C:\Users\28022\Documents\爬虫程序相对路径: 从当前目录索引, 如 .爬虫程序\ 表示路径的时候 需要加转义符 如:C:\Users\28022\Documents\爬虫程序/ 表示路径的时候 不需要加转义符 如:C:/Users/28022/Documents/爬虫程序...原创 2019-03-04 13:03:20 · 4048 阅读 · 0 评论 -
pycharm 实现变量可视化 (variable explorer)
我的是2018的pycharm专业版在你运行程序的时候点下面的 python console在右边就出现了变量的信息,这时可以一一查看原创 2019-03-27 20:28:15 · 10096 阅读 · 0 评论 -
Value passed to parameter 'shape' has DataType float32 not in list of allowed values: int32, int64
Value passed to parameter ‘shape’ has DataType float32 not in list of allowed values: int32, int64这句话的意思是说,你那行代码要求是是整数类型的,但是你里面有浮点型,例如w = weight_variable([1,1,channel_out,channel_out/ratio])上面中chan...原创 2019-08-27 21:25:10 · 2043 阅读 · 0 评论