Fork me on github
摘要: 下载 torch-2.4.1-cp38-cp38-win_amd64.whl 阅读全文
posted @ 2025-03-08 11:59 我の前端日记 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 法1:pip install llama-cpp-python==0.3.2(安装报错) 法2:pip install llama-cpp-python==0.1.48(安装报错) 法3(无效) 1.安装 Microsoft C++ Build Tool 配置环境变量 path中新增 C:\Prog 阅读全文
posted @ 2025-03-06 18:00 我の前端日记 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 安装neo4j需要安装jdk https://blog.csdn.net/2301_77554343/article/details/135692019 安装neo4j https://blog.csdn.net/qq_60492174/article/details/144369861 启动 阅读全文
posted @ 2025-03-06 17:42 我の前端日记 阅读(2) 评论(0) 推荐(0) 编辑
摘要: python install spacy 法1 修改setuptool版本(无效) 法2 安装前置依赖(无效) pip install numpy cython jinja2 pathlib preshed thinc cymem murmurhash blis plac 法3 使用预编译的轮子文件 阅读全文
posted @ 2025-03-06 17:12 我の前端日记 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 输入带下标 选中1 crtl + 输入带上标 选中2 crtl shift + 阅读全文
posted @ 2024-12-02 21:22 我の前端日记 阅读(3) 评论(0) 推荐(0) 编辑
摘要: // 图片生成base64格式 function handleFileChange(event) { const file = event.target.files[0] if (file) { const reader = new FileReader() reader.onload = (e) 阅读全文
posted @ 2024-11-15 16:21 我の前端日记 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 利用map函数 # coding=utf-8 # 输入一个正整数 x = int(input()) # 请在此添加代码,将输入的一个正整数分解质因数 ########## Begin ########## N = x n = x k=2 result=[] while(k<=x):#初值k为2,x为 阅读全文
posted @ 2024-10-25 20:12 我の前端日记 阅读(100) 评论(0) 推荐(0) 编辑
摘要: python 运行此文件,跳转到index.html from flask import Flask,render_template,request,jsonify,json,url_for,redirect app = Flask(__name__) @app.route('/', methods 阅读全文
posted @ 2024-10-23 16:54 我の前端日记 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 1.连接 import pymongo myclient = pymongo.MongoClient("mongodb://localhost:27017/") print(myclient.list_database_names()) 2.查询 查询全部 for row in myAuthors. 阅读全文
posted @ 2024-10-23 16:42 我の前端日记 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 函数参数 参数顺序:必选参数、默认参数、可变参数和关键字参数 可变参数:不确定参数个数 这些可变参数在函数调用时自动组装为一个tuple。*args表示的是可变参数,*args接收的是一个元组 # 参数numbers是可变参数,表示输入的参数个数可以为任意值 def plus(*numbers): 阅读全文
posted @ 2024-10-22 16:36 我の前端日记 阅读(11) 评论(0) 推荐(0) 编辑
Copyright © 2021 LinCangHai
Powered by .NET 5.0 on Kubernetes
点击右上角即可分享
微信分享提示