会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
michaelchengjl
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
11
12
13
14
15
16
17
18
19
···
43
下一页
2023年9月5日
Python 命令行工具库:Fire
摘要: # Python 命令行工具库:Fire > Python Fire 是 Google 开源的一个可从任何 Python 代码自动生成命令行接口(CLI)的库。 Python Fire 是一种在 Python 中创建 CLI 的简单方法。 Python Fire 是开发和调试 Python 代码的有
阅读全文
posted @ 2023-09-05 09:21 michaelchengjl
阅读(203)
评论(0)
推荐(0)
2023年9月4日
Ziya-LLaMA-13B 模型在GPU 上部署
摘要: # Ziya-LLaMA-13B 模型在GPU 上部署 Ziya-LLaMA-13B是IDEA-CCNL基于LLaMa的130亿参数的大规模预训练模型,具备翻译,编程,文本分类,信息抽取,摘要,文案生成,常识问答和数学计算等能力。目前姜子牙通用大模型已完成大规模预训练、多任务有监督微调和人类反馈学习
阅读全文
posted @ 2023-09-04 11:37 michaelchengjl
阅读(1115)
评论(1)
推荐(0)
2023年8月15日
GIt设置代理
摘要: # GIt设置代理 GIt需要设置代理,才能正常访问github 等网站 设置如下(可复制): ``` git config --global https.proxy http://127.0.0.1:1080 git config --global https.proxy https://127.
阅读全文
posted @ 2023-08-15 16:02 michaelchengjl
阅读(660)
评论(0)
推荐(0)
2023年8月11日
onnx_runtime 推理
摘要: onnx_runtime 推理 import numpy as np import onnx import onnxruntime as rt #create input data input_data = np.ones((1, 3, 299, 299), dtype=np.float32) #c
阅读全文
posted @ 2023-08-11 18:10 michaelchengjl
阅读(112)
评论(0)
推荐(0)
2023年8月2日
transformer/tensorflow报错:ValueError: tensorflow.__spec__ is None , free(): invalid pointer
摘要: # transformer/tensorflow报错:ValueError: tensorflow.__spec__ is None , free(): invalid pointer 由于tensorflow版本(tf1)和transformer版本不匹配产生。 解决办法: ``` 1.升级ten
阅读全文
posted @ 2023-08-02 09:57 michaelchengjl
阅读(436)
评论(0)
推荐(0)
2023年7月11日
Streamlit 入门介绍
摘要: # Streamlit 入门介绍 Streamlit 是一个 Python Web 应用框架。但和常规 Web 框架,如 Flask/Django 的不同之处在于,它不需要你去编写任何客户端代码(HTML/CSS/JS),只需要编写普通的 Python 模块,就可以在很短的时间内创建美观并具备高度交
阅读全文
posted @ 2023-07-11 11:00 michaelchengjl
阅读(540)
评论(0)
推荐(0)
2023年6月30日
Faiss 简介
摘要: # Faiss 简介 ## 1.Faiss是什么 Faiss是Facebook Ai Research开发的一款稠密向量检索工具。引用Faiss Wiki上面的一段简介 > Faiss is a library for efficient similarity search and clusteri
阅读全文
posted @ 2023-06-30 16:37 michaelchengjl
阅读(1113)
评论(0)
推荐(0)
Python pygments库
摘要: # Python pygments库 简单介绍 pygments是一个将代码格式化的Python库,可以将代码格式化为html代码、图片、rtf文件等多种格式。 [官网:pygments.org](https://pygments.org/) [PyPI:pygments](https://pypi
阅读全文
posted @ 2023-06-30 16:21 michaelchengjl
阅读(273)
评论(0)
推荐(0)
2023年6月29日
python 字符串前加f、r、b、u
摘要: # python 字符串前加f、r、b、u ### 一、字符串前加"f" 1. **%** 可以使用 % 格式化字符串。 ``` c = (250, 250) # 使用 % 格式化 s1 = "坐标为:%s" % c # TypeError: not all arguments converted
阅读全文
posted @ 2023-06-29 18:49 michaelchengjl
阅读(313)
评论(0)
推荐(0)
python 中 fnmatch模块, textwrap 模块
摘要: # python 中 fnmatch模块, textwrap 模块 **fnmatch模块** 查找文件 使用fnmatch来查找特定的文件,大部分情况下,使用字符串匹配查找特定的文件就能满足需求,如果需要更加灵活的字符串匹配,可以使用标准库中的fnmatch库,这个库专门用来进行文件名匹配,支持使
阅读全文
posted @ 2023-06-29 18:37 michaelchengjl
阅读(589)
评论(0)
推荐(0)
上一页
1
···
11
12
13
14
15
16
17
18
19
···
43
下一页
公告