科学网

 找回密码
  注册
[转载]大数据遍历一遍同时求出均值与标准差
高琳琳 2019-7-26 12:18
标准差的定义: 其中, 为平均值。同时,有如下变形: 因此,标准差简化为: 故有: From: https://www.wikiwand.com/zh-cn/%E6%A8%99%E6%BA%96%E5%B7%AE
个人分类: DeepLearning|2427 次阅读|没有评论
Python 当前路径与上一路径
高琳琳 2019-7-26 11:56
当前路径: cur_dir= os.getcwd() # This outputs the absolute path cur_dir = os.curdir() # This outputs '.' # In order to get the absolute ...
个人分类: Python|1986 次阅读|没有评论
连接远程Ubuntu服务器
高琳琳 2019-7-24 10:56
确保远程基于Ubuntu的服务器是安装了SSH server。若远程服务器没有安装SSH server,可参考 http://blog.sciencenet.cn/blog-1969089-1052797.html 进行安装 根据本地OS,选择不同的客户端安装方式 若本地OS是Ubuntu,通过命令 apt-get install openssh- client 在本地安装SSH客户端 若本地OS是W ...
个人分类: Linux|2041 次阅读|没有评论
Tmux--connect to remote server
高琳琳 2019-7-24 10:29
tmux basically offers two big features: Window management in your terminal and session management. 1. tmux’s authors describe it as a terminal multiplexer . Behind this fancy term hides a simple concept: Within one terminal window you can open multiple windows and split-view ...
个人分类: Linux|1996 次阅读|1 个评论
Pycharm professional安装及激活
热度 1 高琳琳 2019-7-19 20:21
1、下载并安装Pycharm professional 1)官网: https://www.jetbrains.com/pycharm/download/#section=windows 若需要对远程解释器与调试器进行设置,必须下载并安装Pycharm professional版本。若仅在本地使用,即可安装Community版本。   ...
个人分类: DeepLearning|17598 次阅读|2 个评论 热度 1
Pytorch bugs
高琳琳 2019-7-19 19:05
when running at the code of self.criterion(outputs, labels), where I use CrossEntropy as my loss function, I meet the bug of D imension out of range (expected to be in range of , but got 1) Solution: From the doc of CrossEntropy ( https://pytorch.org/docs/stable/nn.html?highlight=cros ...
个人分类: DeepLearning|2383 次阅读|没有评论
Python and Pytorch knowledge
高琳琳 2019-7-16 15:58
1. 找到数组中最大值的下标:使用np.argmax() 例如: a=np.arange(6).reshape(2,3)+10 a = array( , &n ...
个人分类: Python|3297 次阅读|没有评论
Python之list下标访问
高琳琳 2019-7-11 11:39
https://blog.csdn.net/qq_18941713/article/details/88683817 https://blog.csdn.net/cassiepython/article/details/76653897
个人分类: Python|3008 次阅读|没有评论
[转载]Linux管道命令之文件与文件夹统计
高琳琳 2019-7-9 11:46
以下知识点包括管道命令,正则表达式 ls与ls -l的区别 如下图,可以看到ls显示的是当前文件夹下所有的文件和文件夹的信息,而ls -l显示的是一行一行的字符,每一行字符对应一个目录或者是文件。其中,以-开头的字符串表示该行显示的是文件信息,而d(directory)开头表示的是文件夹信息。在下图中,前两行为文件,均以 ...
个人分类: Linux|2022 次阅读|没有评论

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-9-20 05:48

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部