
python学习
半路转行的水博
这个作者很懒,什么都没留下…
展开
-
labelImg Error loading internal MIME data
labelImg 在 python3.10 版本进行标注的时候报错:QMimeDatabase: Error loading internal MIME data。一个解决办法是将 Python 版本降到3.9原创 2023-03-09 22:21:45 · 4547 阅读 · 2 评论 -
pytorch Dataloader Sampler理解(多处转载)
1.PyTorch 笔记2.DataLoaderhttps://zhuanlan.zhihu.com/p/4008302612.pytorch Dataloader Sampler参数深入理解https://blog.youkuaiyun.com/Chinesischguy/article/details/1031989213. Pytorch Sampler详解https://zhuanlan.zhihu.com/p/829852274. pytorch-DataLoader(数据迭代器)https:/原创 2021-09-14 15:01:26 · 285 阅读 · 0 评论 -
加载数据操作不当,导致tensorflow 训练越来越慢的原因
在Session后的循环中加载数据时,对数据进行了tf.reshape, tf.transpose等操作,将原始narray格式的数据变成了tensor,会导致该步骤添加到计算图中,导致计算图越来越大以及ensorflow 训练越来越慢的原因。加载数据格式:.mat加载方式:scio.loadmat(file_path) #错误格式:x_in = tf.compat.vi.placehol...原创 2020-04-20 17:03:44 · 1177 阅读 · 0 评论 -
Python 列表(List)
《Python 列表(List)》《Python numpy 提取矩阵的某一行或某一列》转载网址:https://www.runoob.com/python/python-lists.htmlhttps://blog.youkuaiyun.com/luoganttcc/article/details/74080768...原创 2020-04-13 17:37:51 · 157 阅读 · 0 评论 -
Python 简明教程—2018 中文翻译版
Python 简明教程—2018 中文翻译版网址:https://learnku.com/docs/byte-of-python/2018原创 2020-03-24 17:14:35 · 363 阅读 · 0 评论 -
Python——for表达式(内容1)
**Python——for表达式**转载自:https://www.cnblogs.com/mingmingming/p/11055282.html,2020-03-16一、for表达式1、for表达式语法格式及用法for表达式利用可迭代对象创建新的列表,for表达式也称为列表推导式,具体语法格式如下:[表达式 for 循环计数器 in 可迭代对象]例:a = [ i + i...转载 2020-03-16 21:32:05 · 344 阅读 · 0 评论