- 博客(96)
- 资源 (4)
- 收藏
- 关注
原创 VSCode使用简介
选中单词在打开的文件中选中所有相同的单词光标呈一列;Alt鼠标左键取消指定行的光标Alt左右箭头递归返回上次浏览的地方Ctrlenter当前光标所在行的下面创建新的一行当前光标所在行的上一行创建新的一行Ctrl左右箭头跳转到单词的开头/末尾,结合以及进行批量操作CtrlD选中当前单词,并依次跳转到文件中选中的单词F2即使未全选,也可直接修改名称F12转到定义处如果打开的文件很多,上方活动栏显示不完全时,可以将鼠标停留在该栏,然后使用鼠标滚轮实现文件的快速浏览查找,而不必使用鼠标拖拉选项条。...
2022-07-28 09:35:10
1006
原创 Python 读取 SOT 数据集图片
数据集的读取import numpy as npimport cv2import osfrom PIL import Imagedef read_image(filename, color_fmt='RGB'): assert color_fmt in Image.MODES img = Image.open(filename) if not img.mode == color_fmt: img = img.convert(color_fmt)
2022-05-30 17:00:51
343
原创 WIN11卸载小组件
https://www.thewindowsclub.com/how-to-uninstall-or-reinstall-widgets-in-windows-11以管理员的身份运行 CMD输入以下命令,winget uninstall “windows web experience pack”然后重启文件资源管理器就可以看到 小组件的图标 不见了,设置中也没有了这个选项。.........
2022-05-26 00:10:59
2018
原创 This application failed to start because no Qt platform plugin could be initialized.
VSCode 可以直接运行,但是一旦启用调试模式运行就会报以下错误:Got keys from plugin meta data ("xcb")QFactoryLoader::QFactoryLoader() checking directory path "/home/guest/anaconda3/envs/GlobalTrack/bin/platforms" ...loaded library "/home/guest/anaconda3/envs/GlobalTrack/lib/python3
2022-04-30 22:06:02
1762
原创 Ubuntu 重装 apt/apt-get
参考链接1:https://blog.youkuaiyun.com/A_Thinking_Reed_/article/details/99709620参考链接2:安装aptitude后apt实效ERROR由于各种原因,在安装 aptitude 的时候直接默认,将原来的管理软件 apt-get 直接卸载了,由于是服务器上,不是一个人用,可把我吓坏了。。。sudo: apt: command not foundsudo: apt-get: command not found解决方法STEP1. 卸载..
2022-04-21 23:44:10
10663
3
原创 Linux 使用 Python 执行多线程命令
参考链接1:https://blog.youkuaiyun.com/qq_27825451/article/details/102909772参考链接2:https://www.cnblogs.com/sunshine-blog/p/12027606.html参考链接3:https://www.liaoxuefeng.com/wiki/1016959663602400/1017629247922688参考链接4:https://blog.youkuaiyun.com/liuyanfeier/article/details/.
2022-04-20 20:51:05
3206
原创 PyTorch-GPU 安装之 conda install & pip install
#1. conda install使用该命令,如果不匹配,没有找到对应的包,默认选择安装 CPU 版本!对应的各个版本截图示意如下。1.8.0 (太早之前的就不测试了)# CUDA 10.2conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cudatoolkit=10.2 -c pytorch# CUDA 11.1conda install pytorch==1.8.0 torchvision==0.9.0 to
2022-04-16 18:36:41
14564
3
原创 GlobalTrack 复现
一、安装记录官方 github 链接:https://github.com/huanglianghua/GlobalTrack1. 环境搭建开发环境:Ubuntu 18.04 LTS·python 3.8·cuda 11.1torch 1.8.1Step1. 克隆到本地(或者下载源代码压缩包)cd projgit clone https://github.com/huanglianghua/GlobalTrack.gitSetp2. 为项目创建一个新的虚拟环境注意:虽然作者提
2022-04-14 20:19:50
1520
7
原创 STARK & STARK_LT 复现(2021)
文章目录一、STARK1.1 环境搭建1.1.1 使用 shell 命令直接进行安装1.1.2 使用 `requirements.txt` 安装(强烈推荐)找到需要 pip install 的包1.1.3 使用 `environment.yml` 安装(不推荐)二、STARK_LT一、STARKgithub 主页:https://github.com/researchmm/Stark1.1 环境搭建OS: Ubuntu18.04 LTSCUDA: 11.1TORCH: 1.8.1创建一
2022-04-13 21:52:14
4506
28
原创 Linux 解压当前文件夹下所有的 zip 文件
文章目录#!/bin/bashfunction read_dir(){ for file in `ls -a $1` do if [ -d $1'/'$file ];then if [[ $file != '.' && $file != '..' ]];then read_dir $1'/'$file fi else if [[ $file =~ \*.zip$ ]];then unzip -n
2022-04-12 11:21:40
943
原创 Git初学
Gitgit init // 创建新的文件夹作为项目的路径,然后初始化本地项目git config --global user.name "myname" // 配置用户名git config --global user.email "name@email.com" // 配置邮箱git remote add origion 远程仓库的 git 地址(ssh无密码验证,选这个/https) // 绑定本地和远程仓库git config --global credential.help
2022-04-08 20:56:28
220
原创 浏览器播放视频导致蓝牙耳机断开关机解决(漫步者W800BT)
参考链接:https://blog.youkuaiyun.com/weixin_44467131/article/details/111328638原因:浏览器对硬件的的访问控制。edge/chrome://flags搜索 media,找到这个,然后选择 Disabled,重启浏览器即可。
2022-04-05 23:53:31
5781
2
原创 vscode 通过 X11/Xming 转发显示远程 GUI 窗口
{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [
2022-04-05 00:28:56
6835
4
原创 有关终端代理的正确验证方法
参考链接1:proxy 配置 https://www.shuzhiduo.com/A/RnJWawowdq/参考链接2:proxy 配置 https://weilining.github.io/294.html参考链接3:proxy 配置 https://segmentfault.com/a/1190000039686752参考链接4:各种配置文件的说明https://blog.youkuaiyun.com/qq_39750658/article/details/105381265前提:proxy 已经设置.
2022-04-02 23:49:05
1984
原创 cuda在.bashrc中的配置模板
## <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<&
2022-04-01 16:31:38
1425
原创 PyTorch 安装及常见问题
PyTorch 官网:https://pytorch.org/安装前,首先确定已经在相应的平台上已经搭建好了深度学习环境。Nvidia 驱动已安装:对应 CUDA TOOLKIT xxxnvida-smi主要安装 NVIDIA-DRIVER,同时会自动安装 cudatoolkit。cuDNN 已安装:对应深度学习的开发套件(提供计算支持)cuDNNnvcc -V这个为 RunTime cudatoolkit,这里的 CUDA 版本不能高于上面 NVIDIA-DRIVER .
2022-03-31 12:59:16
1843
原创 使用配置文件创建conda环境
使用配置文件创建新的虚拟环境:env.ymlname: xxxdependencies: - python=3.x - pip - matplotlib - graphviz - notebook - pip: - xxx# name: ebrn# dependencies:# - python=3.8# - pip# - Pillow# - matplotlib# - graphviz# - notebook# -.
2022-03-31 12:30:35
11746
原创 Tensorflow 安装
【注意!!!】cuda和cuDNN的版本必须和tensorflow的版本对应,否则会提示找不到对应的.dll文件,tensorflow官网提示如下:查看Tensorflow-gpu对应的cuda, cuDNN 版本:https://www.tensorflow.org/install/source_windows#gpu在创建的虚拟环境中通过命令安装conda activate testconda install cudatoolkit=10.1conda install cudnn=7..
2022-03-31 12:29:46
1425
原创 conda 相关知识
创建新的虚拟环境更改默认的安装源方法1:使用命令进行修改# 查看当前使用源conda config --show-sources# 添加其他镜像源conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/m
2022-03-31 12:28:13
2119
原创 Ubuntu18.04 NVIDIA-CUDA-cuDNN 安装配置
一、NVIDIA卸载参考链接1:https://blog.youkuaiyun.com/weixin_42563415/article/details/116805068参考链接2:https://www.cnblogs.com/tangmiao/p/10470663.html1.1 查看已经安装的驱动包dpkg -l | grep nvidia1.2 删除程序安装包sudo apt purge nvidia*1.3 删除依赖关系sudo apt autoremovesudo apt aut
2022-03-30 00:34:29
1991
原创 git clone失败:Cloning into... fatal: unable to access... error setting certificate verify locations
ErrorsCloning into 'GlobalTrack'...fatal: unable to access 'https://github.com/xxx.git/': error setting certificate verify locations:CAfile: E:/dev/env/Git/mingw64/ssl/certs/ca-bundle.crt CApath: none解决方法git config --global http.sslverify "false"
2022-03-29 18:29:13
24597
4
原创 vscode 无法使用 GitBash 激活 conda 虚拟环境
Error:IMPORTANT: You may need to close and restart your shell after running 'conda init'.解决方案,直接上配置文件:"terminal.integrated.profiles.windows": { "PowerShell": { "source": "PowerShell", "args": ["-nolog"] }, "GitBash": { "pa
2022-03-19 23:20:55
1152
1
原创 SSH公钥免密登录
参考链接:https://www.cxyzjd.com/article/weixin_40313940/105866897Step1. 使用SSH在本地生成密钥对windows terminal运行:ssh-keygen -t rsa生成密钥,保存在当前用户的 .ssh 文件夹中:路径 C:\Users\你的用户名\.ssh得到的文件中 id_rsa.pub 就是与私钥 id_rsa 对应的公钥。Step2. 填写相关配置文件vscode中,ctrl+shift+p 打开设置 Remote
2022-03-12 22:08:26
4568
原创 Windows通过注册表删除文件资源管理器中无用的快捷方式
记事本:del_shortcut.txt,Windows Registry Editor Version 5.00[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}][-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\E
2022-03-12 14:24:18
2140
原创 Linux PyTorch 无法使用 conda install 安装(下载源已配置好的前提下)
遇到的问题在某一个虚拟环境test中通过pip uninstall torch后,发现所有的虚拟环境中的torch都被卸载,再次使用conda install安装(指定版本一样的问题),虽然可以安装,但是安装后在虚拟环境中无法找到torch及对应的包,也无法导入。解决方法在PyTorch官网中,通过同时指定torch版本以及服务器cuda对应的版本进行安装,解决!...
2022-03-10 13:03:32
2545
原创 ftp服务器搭建
安装vsftpd服务rpm -qa | grep vsftpd # 检查服务器是否已经安装vsftpd服务如果无任何提示,说明未安装。rpm -e vsftpd-3.0.2-29.el7_9.x86_64 # 卸载vsftpd服务yum install vsftpd -y # 安装vsftpd服务安装完成后,查看vsftpd服务状态:systemctl status vsftpdservice vsftpd status说明vsftpd服务已安装成功,还未启动。修改配置文
2021-11-19 14:36:22
1405
原创 Oracle19c之rpm安装
参考链接:https://blog.youkuaiyun.com/qqqyyy0422/article/details/106471309?spm=1001.2101.3001.6650.3&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-3.no_search_link&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7
2021-10-23 23:13:36
437
原创 PowerShell7.X的安装与美化
第一步:安装PowerShell7.Xpowershell官方网站:https://docs.microsoft.com/zh-cn/powershell/里面有具体的安装教程:使用winget以及在Microsoft Store里安装都比较简单,推荐使用这两种方法。安装完成:在Windows Terminal中将其设置为默认启动项即可,VSCode中同理。【PS:如果没有该选项,重启Terminal试试】美化也可通过JSON配置文件进行修改。第二步:进一步美化以管理员身
2021-10-23 22:28:30
10343
11
原创 windows与Linux交互
相互传文件scpscp $FILE_PATH 目标主机文件保存地址xxx@host_addr:$PATH连接sshssh xxx@host_addrCentos类查找依赖文件yum search ifconfigyum install net-tools.x86_64rpm包的安装参考1:http://c.biancheng.net/view/2872.html参考2:https://blog.youkuaiyun.com/bisal/article/details/10090.
2021-10-23 01:20:47
342
原创 conda创建虚拟环境报错:An unexpected error has occurred. Conda has prepared the above report.
解决方法:关闭VPN!!!
2021-10-23 00:07:52
1289
2
原创 WIN数字激活
HWIDGENhttps://mega.nz/file/2L4VEYKD#avFB2ZsQR0b6R7-woBgeVTJt9f2GbDP35IncsHibGfUhttps://github.com/TheMCHK/HWIDGEN
2021-10-19 10:14:17
467
原创 MySQL环境配置
创建data文件夹:创建my.ini文件:[mysqld]# set basedir to your installation pathbasedir=E:/devenv/db/mysql# set datadir to the location of your data directorydatadir=E:/devenv/db/mysql/data# set encodingcharacter-set-server=utf8#set global secure_file_priv='
2021-09-28 22:00:24
81
原创 更改 Normal 模板 (Normal.dotm)
在“文件”选项卡上,单击“打开”。转到 C:\Users\用户名\AppData\Roaming\Microsoft\Templates。打开 Normal 模板 (Normal.dotm)。对字体、边距、间距以及其他设置进行任意所需更改。 可以使用更改文件所用的命令和功能,但请记住,对 Normal.dotm 所作的任何更改都将应用于以后创建的文档。完成后,单击“文件”选项卡,然后单击“保存”。注意: 如果重命名、损坏或移动 Normal.dotm,Word 在下次启动时..
2021-09-23 08:56:22
1259
原创 XMind Zen 2020 10.3.1注册使用
蓝奏云:https://pan.lanzoui.com/b0f1fqazi原文:https://www.423down.com/9212.html
2021-05-24 14:55:11
688
原创 VSCode/PyCharm使用远程服务器资源运行深度学习项目
前提:服务器端相应设置已配置好(比如允许远程登录等),后期加入改进VScode下载插件PyChram完成后,会将该项目上传到服务器,之后本地和服务器修改同步。
2021-05-23 13:33:07
1224
原创 Word论文相关操作
快捷键对参考文献引用在全文进行更新:Ctrl A + F9上标:Ctrl Shift =下标:Ctrl =全文搜索、替换:Ctrl G/F字体样式等修改:Ctrl DMathtype插件相关操作Mathtype功能区显示:文件–>选项–>加载项–>Word加载项–>勾选(没有Mathtype选项时,到Mathtype安装文件夹下,找到Office Support文件夹下32位里面的和Mathtype有关的所有项)插入右编号的公式:插入公式栏–>右编号在文
2021-05-22 22:48:00
870
git rsync+zstd windows
2022-11-30
instsrv.exe srvany.exe
2022-09-15
apt-get 安装资源包,包括ubuntu-keyring, libapt-pkg, apt
2022-04-21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人