随笔分类 -  Python学习

摘要:图片怎么标注参考 https://www.cnblogs.com/minseo/p/18549804 下载 从github下载代码,或压缩包 # git clone https://github.com/LabelMe/labelme 转换 示例文件在以下路径 # labelme-main\exam 阅读全文
posted @ 2024-11-16 21:30 minseo 阅读(40) 评论(0) 推荐(0) 编辑
摘要:简介 labelme是使用python写的基于QT的跨平台图像标注工具,可用来标注分类、检测、分割、关键点等常见的视觉任务,支持VOC格式和COCO等的导出,代码简单易读,是非常利于上手的良心工具. 安装环境 Windows 11家庭版 conda 安装labelme 使用conda创建虚拟环境 # 阅读全文
posted @ 2024-11-16 21:01 minseo 阅读(777) 评论(0) 推荐(0) 编辑
摘要:参考 https://blog.csdn.net/engchina/article/details/140892356 引言 2024年8月1日,blackforestlabs.ai发布了 FLUX.1 模型套件。 FLUX.1 文本到图像模型套件,该套件定义了文本到图像合成的图像细节、提示依从性、 阅读全文
posted @ 2024-10-29 16:12 minseo 阅读(513) 评论(0) 推荐(0) 编辑
摘要:pip下载模块超时 提示如下 HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Read timed out 解决办法 增加超时参数把超时时间设置长一点 --default-timeout=100 h 完整命令如下 注意 阅读全文
posted @ 2024-03-19 11:59 minseo 阅读(47) 评论(0) 推荐(0) 编辑
摘要:参考 https://blog.csdn.net/m0_46807718/article/details/131419124 阅读全文
posted @ 2023-12-15 11:39 minseo 阅读(8) 评论(0) 推荐(0) 编辑
摘要:Windows使用Vscode编写Python代码默认使用系统手动安装的设置在环境变量的Python解释器,如果需要修改称虚拟解释器conda则可以使用以下方法 软件中央上部选择"显示并运行命令" Python:选择解释器 选择需要的解释器 阅读全文
posted @ 2023-11-21 17:57 minseo 阅读(912) 评论(0) 推荐(0) 编辑
摘要:环境查看 # cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) # uname -a Linux docker 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UT 阅读全文
posted @ 2023-11-08 16:32 minseo 阅读(63) 评论(0) 推荐(0) 编辑
摘要:参考:https://zhuanlan.zhihu.com/p/425678081 Python logging模块定了为应用程序和库实现灵活的事件日志记录的函数和类。 下面是一个示例,安装时间格式记录日志到文件 import logging def test_logging(): logging. 阅读全文
posted @ 2023-09-27 11:38 minseo 阅读(25) 评论(0) 推荐(0) 编辑
摘要:### 添加虚拟解释器 pycharm左上角File-Settings ![image](https://img2023.cnblogs.com/blog/1144139/202308/1144139-20230828162523823-1037231678.png) 增加解释器 ![image]( 阅读全文
posted @ 2023-08-28 16:28 minseo 阅读(192) 评论(0) 推荐(0) 编辑
摘要:以下代码演示Python怎么从网络下载一个文件至本地并保存在当前文件夹download import os import requests from urllib.parse import urlparse def download_file(url): response = requests.ge 阅读全文
posted @ 2023-08-24 17:37 minseo 阅读(1453) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示