摘要: 训练并保存模型参数到文件 # https://github.com/PacktPublishing/Modern-Computer-Vision-with-PyTorch # https://github.com/PacktPublishing/Modern-Computer-Vision-with 阅读全文
posted @ 2024-12-12 19:12 辛河 阅读(25) 评论(0) 推荐(0) 编辑
摘要: # https://github.com/PacktPublishing/Modern-Computer-Vision-with-PyTorch # https://github.com/PacktPublishing/Modern-Computer-Vision-with-PyTorch #### 阅读全文
posted @ 2024-12-12 16:24 辛河 阅读(28) 评论(0) 推荐(0) 编辑
摘要: # https://github.com/PacktPublishing/Modern-Computer-Vision-with-PyTorch # https://github.com/PacktPublishing/Modern-Computer-Vision-with-PyTorch #### 阅读全文
posted @ 2024-12-12 14:19 辛河 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 定义数据集训练神经网络# https://github.com/PacktPublishing/Modern-Computer-Vision-with-PyTorch # https://github.com/PacktPublishing/Modern-Computer-Vision-with-P 阅读全文
posted @ 2024-12-12 14:07 辛河 阅读(26) 评论(0) 推荐(0) 编辑
摘要: Pytorch 最全入门介绍,Pytorch入门看这一篇就够了 https://www.cnblogs.com/xfuture/p/17593872.html # 5.1 数据加载和预处理 # 首先,我们需要加载数据并进行预处理。我们将使用torchvision包来下载CIFAR10数据集,并使用t 阅读全文
posted @ 2024-12-12 14:06 辛河 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 第一章 # https://github.com/PacktPublishing/Modern-Computer-Vision-with-PyTorch # https://github.com/PacktPublishing/Modern-Computer-Vision-with-PyTorch 阅读全文
posted @ 2024-12-12 14:06 辛河 阅读(160) 评论(0) 推荐(0) 编辑
摘要: ESP32+作为WiFi热点+接收并返回数据 ESP32代码 # ESP32 作为AP # 作为服务器 接收数据 并echo # ESP32 作为AP 即wifi热点 import network import utime # 配置ESP32为AP模式 ssid = 'ESP32_AP' passw 阅读全文
posted @ 2024-12-04 19:19 辛河 阅读(381) 评论(0) 推荐(0) 编辑
摘要: 多线程编程举例 1、无参数 2、有参数,元组方式传递参数 import _thread import time def testThread(): while True: print("Hello from thread") time.sleep(2) def testParThread(arg1, 阅读全文
posted @ 2024-12-04 14:19 辛河 阅读(249) 评论(0) 推荐(0) 编辑
摘要: Python内置 SQLite库直接使用,简单,适合初学者。做更复杂软件,建议重新选用数据库 从例子开始: 示例代码: # 导入模块 import sqlite3 # 连接数据库,返回连接对象 conn = sqlite3.connect("D:/my_test.db") # 调用连接对象的exec 阅读全文
posted @ 2024-10-31 18:12 辛河 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 参考连接:https://doc.itprojects.cn/A0004.iot/01.doc.c0e19433a76e2e42f143ba0ded917201/index.html#/q02.rfid.01 1)ESP32S3+MFRC522射频卡模块图 # 接线说明# MFRC522_sck = 阅读全文
posted @ 2024-10-31 17:58 辛河 阅读(172) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示