训练营pytorch 2023 cann

iris数据集-训练神经网络

#第一步,import import tensorflow as tf #导入模块 from sklearn import datasets #从sklearn中导入数据集 import numpy as np #导入科学计算模块 #import keras from tensorflow impo ......
神经网络 神经 数据 网络 iris

UAV2101~UAV2105编程与仿真51MCU初学者训练

练习001:51单片机Proteus仿真:点亮一个灯 1、器件清单 Proteus关键词元器件 CAP 固定电容 CAP-ELEC 电解电容 AT89C51 AT89C51单片机 CRYSTAL 晶振 BUTTON 复位按键 RES 电阻 RESPACK 排阻 LED-YELLOW 黄色发光二极管 ......
初学者 UAV 2101 2105 MCU

2023.10.9

今天java学习了连接数据库,首先打开MYSQL的官网 解压到某个目录下,然后在根目录下创建一个txt文件,名字叫my,文件后缀为ini,需要按照下一步操作。 [mysqld]# 设置3306端口port=3306# 设置mysql的安装目录 是你的文件路径 basedir=E:\mysql\mys ......
2023 10

2023/10/09

连接MySQL 首先下载MySQL后配置环境变量设置密码,如果是安装版,记下安装的位置 安装后文件的名字为MySQL Server 8.0 完成后win+r输入cmd打开终端输入 mysql -u root -p 显示Enter password:环境变量就算配置成功 下载MySQL的jdbc 打开 ......
2023 10 09

搭建Pytorch2.1+CUDA12.1+Anaconda+Pycharm深度学习环境

环境: Win11 22H2 需要的安装包: Anaconda3-2021.05-Windows-x86_64.exe Python 3.11. pycharm-professional-2021.2.1.exe CUDA12.1与CUDNN V8.9.5 pytorch 2.1 选择性安装Open ......
深度 Pytorch2 Anaconda Pytorch Pycharm

《动手学深度学习 Pytorch版》 8.3 语言模型和数据集

8.3.1 学习语言模型 依靠在 8.1 节中对序列模型的分析,可以在单词级别对文本数据进行词元化。基本概率规则如下: \[P(x_1,x_2,\dots,x_T)=\prod^T_{t=1}P(x_t|x_1,\dots,x_{t-1}) \]例如,包含了四个单词的一个文本序列的概率是: \[P( ......
深度 模型 Pytorch 语言 数据

2023数据采集与融合实践第二次作业

第二次作业 作业一 实验 要求:在中国气象网(http://www.weather.com.cn)给定城市集的 7 日天气预报,并保存在数据库。 思路解析: 预设需要存储的数据在数据库中的形式 序号 地区 日期 天气信息 温度 创建存储数据的的专属类 weatherDB 该类包含以下主要方法: op ......
数据采集 数据 2023

pytorch(8-2) 文本语言处理 拆分成字符统计词频并从高到底分配ID

https://zh.d2l.ai/chapter_recurrent-neural-networks/language-models-and-dataset.html import collections import re from d2l import torch as d2l #@save ......
词频 字符 文本 pytorch 语言

2023数据采集与融合技术实践二

作业①: 要求: 在中国气象网(http://www.weather.com.cn)给定城市集的 7日天气预报,并保存在数据库。 输出信息: 序号 地区 日期 天气信息 温度 1 北京 7日(今天) 晴间多云,北部山区有阵雨或雷阵雨转晴转多云 31℃/17℃ 2 北京 8日(明天) 多云转晴,北部地 ......
数据采集 数据 技术 2023

2023.10.9

//进程管理(补上读书笔记) //面试-操作系统篇:进程与线程 - 知乎 (zhihu.com) !!! //了解进程间通信常见的几种方式(https://blog.csdn.net/weixin_44844089/article/details/106185568) //了解进程与线程的使用场合( ......
2023 10

2023/10/9(实正规算子)

![](https://img2023.cnblogs.com/blog/2702872/202310/2702872-20231009195616844-447367698.png) ![](https://img2023.cnblogs.com/blog/2702872/202310/27028... ......
算子 2023 10

使用人工神经网络训练手写数字识别模型

博客地址:https://www.cnblogs.com/zylyehuo/ 效果展示 下载数据集(共四个) http://yann.lecun.com/exdb/mnist/ 目录结构 整体流程图 dataloader.py import numpy as np import struct imp ......
神经网络 人工 模型 神经 数字

2023-02-09-dbdiagram

+++ title = "Dbdiagram.io,数据库设计的好选择" description = "" date = 2023-02-09T16:01:23+08:00 featured = false comment = true toc = true reward = true catego ......
dbdiagram 2023 02 09

2023.10.9——每日总结

学习所花时间(包括上课):0h 代码量(行):0行 博客量(篇):1篇 今天,上午学习,下午学习; 我了解到的知识点: 1.DIV+CSS; 明日计划: 学习 ......
2023 10

2023-02-18-python打包

+++ title = "Python打包和上传到pypi" description = "" date = 2023-02-18T21:59:09+08:00 featured = false comment = true toc = true reward = true categories = ......
python 2023 02 18

2023-02-24windows开启WebDAV

+++ title = "windows开启WebDAV" description = "" date = 2023-02-24T19:56:44+08:00 featured = false comment = true toc = true reward = true categories = ......
windows WebDAV 2023 02 24

2023-02-18-python打包成exe

+++ title = "如何把 Python 程序打包成 exe" description = "" date = 2023-02-18T22:27:09+08:00 featured = false comment = true toc = true reward = true categori ......
python 2023 exe 02 18

2023-02-28-如何避免timemachine占用宝贵的mac磁盘空间

+++ title = "如何避免timemachine占用宝贵的mac磁盘空间" description = "" date = 2023-02-28T16:47:50+08:00 comment = true toc = true reward = true categories = [ "" ......
磁盘 timemachine 空间 2023 mac

2023-03-03-移动光猫改桥接的一次经验

+++ title = "移动光猫改桥接" description = "" date = 2023-03-03T23:04:09+08:00 featured = false comment = true toc = true reward = true categories = [ "" ] t ......
经验 2023 03

2023-02-18-我写了一个python库dumb_meun

+++ title = "我写了一个python库:dumb_meun" description = "" date = 2023-02-18T16:19:07+08:00 featured = false comment = true toc = true reward = true catego ......
dumb_meun python 2023 dumb meun

2023-02-09-使用simple_term_menu创建更好的python菜单

+++ title = "用 simple_term_menu 创建更好的python菜单" description = "" date = 2023-02-09T16:25:24+08:00 featured = false comment = true toc = true reward = t ......
simple_term_menu 菜单 simple python 2023

2023数据采集与融合技术实践作业二

第二次作业 一、作业内容 • 作业①: – 要求:在中国气象网(http://www.weather.com.cn)给定城市集的 7 日天气预报,并保存在数据库。 – 输出信息:Gitee 文件夹链接 序号 地区 日期 天气信息 温度 1 北京 9日(今天) 晴间多云。。。 26°c 2 ... 代 ......
数据采集 数据 技术 2023

2023-01-06-Regex

最近工作终于闲了下来,可以上班研究代码。遇到一些需要正则表达式的编程问题,无法解决所以决定个学一下。 Regex 101 - ZH-CN (regexlearn.com) Regex Learn - 练习场 Regex Learn - cheatsheet 练习题 简单 匹配单词 he is in ......
Regex 2023 01 06

2023-02-06grub

+++ title = "grub settings for noobies" description = "" date = 2023-02-06T14:21:50+08:00 featured = false comment = true toc = true reward = true cat ......
2023 grub 02 06

2023-01-05vscode技巧

csharp 程序不能输入 用vscode运行csharp默认使用的terminal是不支持输入的,输入没反应 需要修改 launch.json 增加这两行我估计是关闭了什么东西,并且调用系统的terminal,具体就不懂了。 "configurations": [ { // For more in ......
技巧 vscode 2023 01 05

2023-01-31python-json

+++ title = "Json读写(Python)" description = "" date = 2023-01-31T15:34:37+08:00 featured = false comment = true toc = true reward = true categories = [ ......
python-json python 2023 json 01

2023-01-31python-path

+++ title = "使用标准的path处理方法 (Python)" description = "" date = 2023-01-31T15:26:05+08:00 featured = false comment = true toc = true reward = true catego ......
python-path python 2023 path 01

2023-1-0xpython_beautiful_soup

+++ title = "python_beautiful_soup" description = "" date = 2023-03-20T15:50:22+08:00 featured = false comment = true toc = true reward = true categor ......

2023-02-06Fix dual system time problem copy

+++ title = "Fix dual system time problem" description = "" date = 2023-02-06T14:21:50+08:00 featured = false comment = true toc = true reward = true ......
problem system 2023 dual copy

2023_10_09_MYSQL_DAY_01

2023_10_09_MYSQL_DAY_01 #运算符的优先级 SELECT ename, job, sal FROM emp WHERE ( job='SALESMAN' OR job='PRESIDENT') AND sal>1500; SELECT ename, job, sal FROM ......
MYSQL_DAY MYSQL 2023 DAY 10