摘要: 认识shell 查看已安装的shell ┌──(kali㉿DESKTOP-FQ0BCLS)-[/mnt/e/Edgedownload] └─$ cat /etc/shells # /etc/shells: valid login shells /bin/sh /bin/bash /usr/bin/b 阅读全文
posted @ 2022-12-27 15:12 榴红八色鸫 阅读(70) 评论(0) 推荐(0)
摘要: 通配符 | 符号 | 含义 | | | | | ? | 任意单个字符 | | * | 0个或多个字符 | | [ay] | a或y | | [a-y] | a,b,c,...,y | | [!a] | 排除a | 例: $ touch fall fell full fill $ ls -l f[!a 阅读全文
posted @ 2022-12-25 15:46 榴红八色鸫 阅读(40) 评论(0) 推荐(0)
摘要: 第九章 安装软件的笔记,仅记录Debian系 阅读全文
posted @ 2022-12-25 10:52 榴红八色鸫 阅读(62) 评论(0) 推荐(0)
摘要: 问题 tqdm是显示数据处理进度条 使用import tqdm报错 ‘module’ object is not callable import tqdm datafields = [("text", TEXT), ("label", LABEL)] train_examples= [] for t 阅读全文
posted @ 2022-11-21 11:28 榴红八色鸫 阅读(330) 评论(0) 推荐(0)
摘要: def main(args): print(args.data_path) if __name__=='__main__' import argparse parser = argparse.ArgumentParser(description=__doc__) # 数据集路径 parser.add 阅读全文
posted @ 2022-11-21 10:38 榴红八色鸫 阅读(38) 评论(0) 推荐(0)
摘要: pip show matplotlib查看安装位置 去python环境下lib/site.py文件里修改user_site和user_base USER_SITE,更改为anaconda的Lib文件夹下的site-packages文件夹。 USER_BASE,更改为anaconda的Scripts文 阅读全文
posted @ 2022-11-19 09:09 榴红八色鸫 阅读(766) 评论(0) 推荐(0)
摘要: 在main.py的开头添加 import os import sys BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.append(BASE_DIR) 阅读全文
posted @ 2022-11-17 20:30 榴红八色鸫 阅读(83) 评论(0) 推荐(0)
摘要: 重新编译opencv sudo cmake -DBUILD_TIFF=ON .. 阅读全文
posted @ 2022-11-16 18:00 榴红八色鸫 阅读(31) 评论(0) 推荐(0)
摘要: cmakelists cmake_minimum_required(VERSION 3.20) project(python_test) #python set(Python3_ROOT_DIR "/home/ubuntu/miniconda3/envs/python38") set(PYTHON_ 阅读全文
posted @ 2022-11-16 14:30 榴红八色鸫 阅读(159) 评论(0) 推荐(0)
摘要: 下载cuda https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=WSL-Ubuntu&target_version=2.0&target_type=deb_netwo 阅读全文
posted @ 2022-11-16 10:26 榴红八色鸫 阅读(173) 评论(0) 推荐(0)
摘要: ln -sf bash /bin/sh 查看一下我们的文件是否修改成功,成功的话是 bash 而不是 dash ls -l /bin/sh apt-get install bash-completion 重启wsl wsl --shutdown wsl 阅读全文
posted @ 2022-11-14 14:18 榴红八色鸫 阅读(34) 评论(0) 推荐(0)
摘要: sudo apt install gcc-11 g++-11 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 11 sudo update-alternatives --install /usr/bin/g++ 阅读全文
posted @ 2022-11-14 14:16 榴红八色鸫 阅读(95) 评论(0) 推荐(0)
摘要: label.txt __ignore__ _background_ welding_wire 焊丝 protection_cover 保护罩 welding_seam 焊缝 vertical_welding0 垂直焊材0 vertical_welding1 垂直焊材1 base_metal 母材(整 阅读全文
posted @ 2022-11-10 14:42 榴红八色鸫 阅读(60) 评论(0) 推荐(0)
摘要: https://learn.microsoft.com/zh-cn/windows/wsl/ D:\ProgramData\ubuntu>wsl --list --online 以下是可安装的有效分发的列表。 请使用“wsl --install -d <分发>”安装。 NAME FRIENDLY N 阅读全文
posted @ 2022-11-07 14:24 榴红八色鸫 阅读(198) 评论(0) 推荐(0)
摘要: cmd窗口 windeployqt xxx.exe 阅读全文
posted @ 2022-10-11 08:54 榴红八色鸫 阅读(37) 评论(0) 推荐(0)