摘要: 创建时间:2021年11月24日17:58:48 2021年12月27日11:39:02 查看docker容器使用的系统资源 docker stats 分别查看docker的镜像和容器占用的空间总大小 docker system df 分别查看单个镜像和容器占用的空间大小 docker system 阅读全文
posted @ 2022-06-02 16:53 海_纳百川 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 使用命令:locale -a;如果出现C.UTF-8,表示系统内支持中文编码,执行export LANG=C.UTF-8&&source /etc/profile 阅读全文
posted @ 2022-06-02 16:50 海_纳百川 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 解决办法:查看ssh运行状态:systemctl status sshd.service,发现服务未启动,尝试使用命令/etc/init.d/sshd start启动服务,结果失败。 使用命令:journalctl -xe查看失败的具体原因,发现:sshd: /lib/libcrypto.so.10 阅读全文
posted @ 2022-06-02 13:03 海_纳百川 阅读(551) 评论(0) 推荐(0) 编辑
摘要: 命令:hdparm -Tt /dev/sdg 阅读全文
posted @ 2022-06-02 13:00 海_纳百川 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 解决办法:vim /etc/motd 阅读全文
posted @ 2022-06-02 12:59 海_纳百川 阅读(60) 评论(0) 推荐(0) 编辑
摘要: 如果是单独使用docker run -it...命令创建容器,则在-it 之后加入 --security-opt seccomp:unconfined 如果是使用docker-comose up命令,则在docker-compose.yml文件中每个容器部分加入 security_opt: - "s 阅读全文
posted @ 2022-06-02 12:58 海_纳百川 阅读(1095) 评论(0) 推荐(0) 编辑
摘要: import os import sys def main(): member_pth = './member' txts = os.listdir(member_pth) member_images = [] # get all image-ID that not deleted from all 阅读全文
posted @ 2022-06-02 12:51 海_纳百川 阅读(68) 评论(0) 推荐(0) 编辑
摘要: # coding:utf-8 # 这是一个对mmdet训练结束后的json文件进行可视化的代码 # 主要是对log中记录的各种参数如:cls_loss, box_loss, mAP进行可视化 # 本方法已经经过测试,输出图片在out文件夹中 import json import matplotlib 阅读全文
posted @ 2022-06-02 12:43 海_纳百川 阅读(616) 评论(0) 推荐(0) 编辑
摘要: 用扩展名判断文件格式非常简单,但是有可能是错误的。 jpeg文件有固定的文件头,其文件头的格式如下: ? 1 2 3 start marker | jfif marker | header length | identifier 0xff, 0xd8 | 0xff, 0xe0 | 2-bytes | 阅读全文
posted @ 2022-06-02 11:08 海_纳百川 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 解决办法: 将读取图片的方式改为mmcv.imread方式 修改代码处:mmdet/datasets/pipelines/loading.py 类:LoadImageFromFile 方法:__call__() 将: img_bytes = self.file_client.get(filename 阅读全文
posted @ 2022-06-02 09:45 海_纳百川 阅读(445) 评论(0) 推荐(0) 编辑
本站总访问量