
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
import pandas as pdimport numpy as npimport matplotlib.pyplot as pltimport seaborn as sns# 颜色color = sns.color_palette()print(color)# 数据精度pd.set_option('precision', 3)[(0.8862745098039215, 0.290196078
pytorch gpu版本安装最新之前写的一篇时间已久, 正好要安装最新的,今天分享一下1. 创建虚拟环境支持下面任一环境:使用conda使用python对应的虚拟环境管理工具等 virtualenv主环境这步具体步骤跳过2. 使用conda来实践1. 环境使用conda来创建名叫pytorch190python版本为3.9的虚拟环境conda create -n pytorch190 pytho
爬中过程中解决html乱码和获取的文本乱码问题response1 = requests.get(url=detail_url, headers=headers)responseText1 = response1.text获取的html中有乱码,xpath解析出来的文本当然也有乱码。解决办法:responseText1 = response1.text.encode(‘iso-8859-1’)utf
说明:在neo4j中创建一个小明的同学是张三,里斯的朋友是张三的知识图谱。
解决ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: ‘d:\python_envs\env01\scripts\pip.exe’ Consider using the --user option or check the permissions.解决 ModuleNotFoundEr
本文使用到有的模型涉及到多输入或者多输出操作,这里使用keras函数式API来构建模型。FastTest要求输入的数据和其他模型不太一样,数据处理这里不做介绍。fasttext是facebook开源的一个词向量与文本分类工具,在学术上没有太多创新点,好处是模型简单,训练速度非常快。fastText把文档中所有词通过lookupAttention机制在keras中不是一个完整的封装好直接导入使用的模
踩得坑没有配置安全组, 启动项目后,公网访问不到。Django在服务器启动python manage.py runserver 0.0.0.0:8000 来启动, 公网才能访问。域名买了,配置服务器解析之后,域名还是解析不到,原因是网站未备案。服务器购买—域名购买—项目部署首先到阿里云服务器购买服务器https://www.aliyun.com/购买成功后进入控制台,云服务器 ECS,概览和实例都
Dockerfile和docker-compose使用1. Dockerfile# 基础镜像为python3.8FROM python:3.8# 将本机 . 也就是当前目录下所有文件都拷贝到image文件中指定目录COPY . /usr/src/app/code_pro# 将/usr/src/app指定为工作目录WORKDIR /usr/src/app/code_pro# 在image中安装运行d

@Windows下anaconda安装dlib帮助朋友运行代码from PIL import Image, ImageTkfrom tkinter.filedialog import askopenfilenameimport cv2import tkinter as tkimport PILimport dlib刚开始以平时常用的方法安装 pip install dlib然后...
Python员工离职数据分析import pandas as pdimport seaborn as snsimport matplotlib.pyplot as pltimport warningswarnings.filterwarnings('ignore')# 数据全显示pd.set_option('display.max_columns', None)# 颜色colors = sns.c







