![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
西格玛利翁
这个作者很懒,什么都没留下…
展开
-
记录学习python时的问题(一)
看python官方文档时看到 lambda expression Small anonymous functions can be created with the lambda keyword. This function returns the sum of its two arguments: lambda a, b: a+b. Lambda functions can be u原创 2018-01-24 23:41:22 · 388 阅读 · 0 评论 -
记录学习python时的问题(二)
1)文档字符串出现在函数定义的第一行并且用三引号"""...."""括起来 例如 >>> def my_function(): ... """Do nothing, but document it. ... ... No, really, it doesn't do anything. ... """ ... pass ... >>> print(my_func原创 2018-01-28 10:46:19 · 257 阅读 · 0 评论 -
tensorboard初次使用时踩的坑
使用 tensorboard --logdir=path/to/log-directory 命令时,目录中不能有中文路径,即使相对路径中没有中文字符,而绝对路径中有中文字符也不能显示图像假如事件文件*.tfevents.*在以下路径:F:/此桌面/tftest/log_dir/*.tfevents.*即使 cd F:/此桌面/tftest到tftest目录下调用tensorboard --l...原创 2018-05-13 15:48:54 · 1423 阅读 · 0 评论