logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

torch使用GPU安装依赖

再pip install torch==2.11.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128。https://download.pytorch.org/whl/torch_stable.html 找到 torch-2.11.0+cu128-cp313-cp313-win_amd64.whl。

#pytorch#深度学习#人工智能
claude code

第一层 :CLAUDE.md(你主动写,全量加载)第二层 :Auto Memory(cc 自己记,按需读取)第三层:自建参考文档(你写,cc 遇到对应任务才读)。层位置优先级加载方式谁在维护1CLAUDE.md(三级)高会话启动全量加载你手动维护2中先读索引、按需读子文件cc 自己写、你校对修改3参考文档按需cc 遇到对应任务才读你手动维护。

#python
docker部署django(uwsgi+nginx)

最后的daemonize应该注释掉,否则docker容器启动后便会立即停止,docker容器需要一个持续运行的前台进程,否则会终止容器运行。

#docker#django#nginx
git的pull、push的分支操作

一、设置签名1.项目级别/仓库级别(仅在本地仓库有效)git config user.name xxxxxgit config user.email xxxx@xxxx.com2.系统用户级别(登录当前操作系统的用户范围)git config --global user.name xxxxxgit config --global user.emai xxxxxx@xxxxx.com使用原则:必须要

#git
更强大的django后台管理系统-xadmin详解

1.xadmin会自动发现我们自定义的用户表并自动生成class UserProfile(AbstractUser):nick_name = models.CharField(max_length=50, verbose_name="昵称", default="")birthday = models.DateField(verbose_name="生日", null=True, blank=Tru

更强大的django后台管理系统-xadmin详解

1.xadmin会自动发现我们自定义的用户表并自动生成class UserProfile(AbstractUser):nick_name = models.CharField(max_length=50, verbose_name="昵称", default="")birthday = models.DateField(verbose_name="生日", null=True, blank=Tru

pycharm ctrl+s自动格式化代码

一、pycharm默认格式化代码快捷键ctrl+alt+L二、实现ctrl+s格式化代码1.安装插件在插件市场找到:file watcher,点击安装,应用2.安装black包(python格式化专用包)pip install black3.配置环境注:后面两个勾选会自动保存,也会自动格式化,频率太高,不建议勾选4.重启pycharm...

#pycharm#python#ide
ubuntu18.04开启ssh

1.查看是否有开启sshps aux| grep ssh看到sshd说明开启成功,如果没有开启,则进行下一步。2.开启sshsudo service ssh start# 开启sudo service ssh stop# 关闭sudo service ssh restart# 重启sudo service ssh status# 查看ssh的状态如果找不到命令,则执行第三步3.安装sshsudo

#ssh#运维#linux
python 使用阿里云镜像

临时使用pip install -i https://mirrors.aliyun.com/pypi/simple/ 包名永久使用配置pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/查看设置结果pip config list取消永久使用配置pip config unset global.index-url

#python#阿里云#pycharm
在pycharm中使用djang的交互式界面

1.交互式无提示直接:python manage.py shell2.交互式有提示依赖:pip install ipython再次输入:python manage.py shell

到底了