会员
周边
众包
新闻
博问
闪存
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
sq-feng
博客园
首页
新随笔
联系
订阅
管理
1
2
3
下一页
2025年6月30日
Modify docker image
摘要: Code is as follows: sudo docker run -it --name test-gui-wi --entrypoint=/bin/bash winking-gui-wi:latest -i # do sth sudo docker commit test-gui-wi win
阅读全文
posted @ 2025-06-30 07:51 sq-Feng
阅读(3)
评论(0)
推荐(0)
2025年5月5日
Docker run without entrypoint
摘要: Run command below: sudo docker run -it --entrypoint=/bin/bash docker-name:tag -i
阅读全文
posted @ 2025-05-05 04:09 sq-Feng
阅读(10)
评论(0)
推荐(0)
2025年1月26日
DDP 教程
摘要: 感觉写得很好,转发一下: https://www.cnblogs.com/liyier/p/18136458
阅读全文
posted @ 2025-01-26 04:46 sq-Feng
阅读(6)
评论(0)
推荐(0)
2024年12月7日
【转载】关于tailscale流量转发
摘要: 关于tailscale流量转发
阅读全文
posted @ 2024-12-07 15:45 sq-Feng
阅读(24)
评论(0)
推荐(0)
2024年11月27日
傻瓜式git命令
摘要: git高深莫测,难以精通,但是跨平台开发又离不开版本控制器,这里介绍几个常用的傻瓜式git命令,一般能应对常见问题。 我只想强制同步git仓库,不会解决冲突,本地的东西我不管 # 从远程获取最新的分支和历史 git fetch --all # 强制将本地分支重置为远程分支的状态 git reset
阅读全文
posted @ 2024-11-27 22:37 sq-Feng
阅读(7)
评论(0)
推荐(0)
2024年11月22日
如何配置Github在Unix上的公钥/私钥加密文件
摘要: 在Unix上生成密钥对 ssh-keygen -t rsa -b 4096 -C "xx@outlook.com" 添加 SSH 密钥到 SSH 代理(SSH 代理帮助您在会话期间管理和缓存 SSH 密钥) eval "$(ssh-agent -s)" ssh-add ~/.ssh/id_rsa 查
阅读全文
posted @ 2024-11-22 17:42 sq-Feng
阅读(24)
评论(0)
推荐(0)
2024年11月15日
WSL2 GUI桌面环境搭建
摘要: 参考链接 其中第四部分部分需要勘误: 在 Ubuntu 终端中设置 DISPLAY 环境变量: export DISPLAY=$(awk '/nameserver / {print$2; exit}' /etc/resolv.conf 2>/dev/null):0 一切完成后,每次打开只需要: 在W
阅读全文
posted @ 2024-11-15 15:45 sq-Feng
阅读(157)
评论(0)
推荐(0)
2024年11月4日
[转载] Conv1d 举例说明
摘要: 一维卷积不代表卷积核只有一维,也不代表被卷积的feature也是一维。一维的意思是说卷积的方向是一维的。 class torch.nn.Conv1d(in_channels, out_channels, kernel_size, stride=1, padding=0, dilation=1, gr
阅读全文
posted @ 2024-11-04 17:55 sq-Feng
阅读(190)
评论(0)
推荐(0)
2024年11月3日
kubectl 连接 Jupyter
摘要: step 1. 创建包含对应的images的pod step 2. 进入pod,执行 jupyter notebook --ip='0.0.0.0' step 3. 在不中断pod进程的情况下,(最好重新打开一个终端),进行端口转发: kubectl port-forward pytorch-xx
阅读全文
posted @ 2024-11-03 01:12 sq-Feng
阅读(23)
评论(0)
推荐(0)
2024年10月29日
Reshape 读取和摆放顺序: Matlab VS Python
摘要: Matlab读取:列优先(高维矩阵:靠前的维度优先) >> b = [1,2;3,4]; >> reshape(b,1,4) ans = 1 3 2 4 Matalb填充:列优先(高维矩阵:靠前的维度优先) >> b = [1 2 3 4] b = 1 2 3 4 >> reshape(b,2,2)
阅读全文
posted @ 2024-10-29 17:11 sq-Feng
阅读(127)
评论(0)
推荐(0)
1
2
3
下一页
公告