上一页 1 2 3 4 5 6 7 ··· 12 下一页
摘要: 1,pytorch和pytorch lightning的区别 https://pytorch-lightning.readthedocs.io/en/latest/starter/new-project.html PyTorch Lightning 为您提供构建模型、数据集等所需的 API。 PyT 阅读全文
posted @ 2022-02-23 19:02 tensor_zhang 阅读(131) 评论(0) 推荐(0)
摘要: 1,常用操作 安装: 官方教程:http://openresty.org/cn/linux-packages.html 或者以下步骤: yum-config-manager --add-repo https://openresty.org/package/centos/openresty.repo 阅读全文
posted @ 2022-02-08 13:00 tensor_zhang 阅读(124) 评论(0) 推荐(0)
摘要: 1,初识Nginx 1-1,Nginx的主要应用场景 静态资源服务 反向代理服务(集群):缓存加速(访问加速)、负载均衡(动态扩容和容灾) API服务(Nginx进行业务处理):OpenResty 1-2,Nginx的优点 高并发、高性能:Apache一个进程只能处理一个连接,因此并发数和性能很低; 阅读全文
posted @ 2022-02-07 14:39 tensor_zhang 阅读(55) 评论(0) 推荐(0)
摘要: 0,技巧 1,巧用python的同步赋值,同步赋值时先计算等号右边再给左边依此赋值,注意左边的顺序不要相互干扰 例子1,取反: nodeBefore, node = head, head.next while node: node.next, nodeBefore, node = nodeBefor 阅读全文
posted @ 2021-12-22 14:47 tensor_zhang 阅读(55) 评论(0) 推荐(0)
摘要: 参考博客1 参考博客2 1,服务器端OpenSSH服务器下载 2,开启OpenSSH服务器 #管理员权限运行cmd或者powershell net start sshd net stop sshd 3,查看用户名 net user 4,查看ip ipconfig 5,连接时输入对应的ip和用户名即可 阅读全文
posted @ 2021-11-22 22:05 tensor_zhang 阅读(1959) 评论(0) 推荐(0)
摘要: Windows 上的 Task Scheduler,OS X 上的 launchd,或 Linux 上的 cron 调度程序。这些工具文档齐全,而且可靠,它们都允许你安排应用程序在特定的时间启动。利用操作系统内置的调度程序,你不必自己写时钟检查代码来安排你的程序。https://automateth 阅读全文
posted @ 2021-11-12 16:16 tensor_zhang 阅读(51) 评论(0) 推荐(0)
摘要: 0,为什么要配置linux下的pytorch-gpu运行环境 最大的好处莫过于设置num_workers再也不会因为多进程而报错了!训练时效率的提升不是一点,是好几倍! 1,环境配置 python3安装 sudo apt-get update sudo apt-get upgrade sudo ap 阅读全文
posted @ 2021-11-05 11:12 tensor_zhang 阅读(751) 评论(1) 推荐(0)
摘要: 1,excel-pandas pandas.read_excel读取.xlsx文件,pandas.read_csv读取.csv文件 多表数据:将None传递给read_excel函数,返回的是一个key为表名的字典,字典的每一个value是一个DataFrame import pandas as p 阅读全文
posted @ 2021-10-27 09:41 tensor_zhang 阅读(281) 评论(0) 推荐(0)
摘要: 1,git上传文件到github(中心式,pull、add、commit、push循环) 在github创建仓库,在本地创建项目初始文件夹 本地右键项目文件夹,选择Git Bash Here git clone https://*** (注:此步骤会将远程仓库的全部内容下载下来) 若报错 “fata 阅读全文
posted @ 2021-10-26 08:43 tensor_zhang 阅读(129) 评论(0) 推荐(0)
摘要: 1,webbrowser:Python 自带的,打开浏览器获取指定页面。(open) webbrowser.open('URL') #打开URL 2,requests:从因特网上下载文件和网页。(get status_code text raise_for_status iter_content) 阅读全文
posted @ 2021-10-23 17:29 tensor_zhang 阅读(1060) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 12 下一页