passer au contenu principal
paste
bin
.ca
type · paste · share
⌘
K
Famille
La famille bin
pastebin.ca
pôle
Share text and code with expiry and privacy controls.
imagebin.ca
Upload and share images with direct links.
filebin.ca
Drop a file and get a shareable link.
notebin.ca
Write Markdown notes with durable links.
turl.ca
Short, reputation-checked links.
attn.ca
Notifications and alerts for your services.
voicebin.ca
Record and share short voice clips.
dnsbin.ca
Inspect DNS and debug records.
Se connecter
?
Compte
Plus
▾
Docs
← retour au collage
›
Modifier / dupliquer
Collage sans titre
#5s7xC7XjQh
public / public
nouvelle version
anonyme
créé 7 days ago
Expire dans 4 hours
1.5 KB
syntaxe:
text
Vos changements créent un nouveau collage lié à celui-ci — l’original reste intact.
nouvelle version
Vos changements créent un nouveau collage lié à celui-ci — l’original reste intact.
Titre (facultatif)
Nom de fichier
Syntaxe
text
text
bash
c
cpp
css
diff
dockerfile
go
html
ini
java
javascript
json
kotlin
lua
makefile
markdown
nginx
php
python
ruby
rust
shellscript
sql
swift
toml
typescript
xml
yaml
Visibilité
Fil public
Accès
public
Expire
7 jours
10 min
1 heure
1 jour
7 jours
30 jours
90 jours
personnalisé…
Expiration personnalisée
Note de changement
(facultatif)
Tout le monde peut trouver ce collage dans le fil public. Choisissez Non répertorié pour le partager uniquement par lien.
Créer une nouvelle version
Annuler
Collez ou tapez…
实验4:利用Workbuddy构建可视化手写数字识别系统 本实验需要利用WorkBuddy构建一个基于Python的可视化手写数字识别系统。在WorkBuddy中选择一个免费的模型(如Hy4 flash),输入以下提示词: MNIST 数据集是一个经典的手写数字识别数据集,其中包含 0-9 十种不同的数字。请利用 Python 构建一个基于卷积神经网络的可视化手写数字识别系统,要求: 1. 具有可视化界面(tkinter),在 Windows 系统中可以直接运行; 2. 点击「下载数据」按钮,联网下载 MNIST 数据集; 3. 点击「训练」按钮,用卷积神经网络进行模型训练,训练 5 个 epoch,并在同一界面实时绘制训练集与验证集的损失曲线和准确率曲线; 4. 用户在画布上用鼠标手写数字,程序将其按 MNIST 规范预处理后送入模型,输出预测类别及 0-9 各类别的概率分布(条形图展示); 5. 页面风格为简洁的学术风格(白底卡片式布局、学术蓝/红双色曲线); 6. 基于 Python 3.13 创建程序专属运行环境(venv),安装所需依赖包,并提供一键启动脚本(“启动程序.bat”)。 7. 在桌面上创建 “MNIST” 文件夹,所有输出文件放在该文件夹中。 注意本机为 windows 系统,处理好文件路径的转义字符。 WorkBuddy 配置: • 模型选择:Hy4 flash(免费) • 打开 “允许完全访问” 当前权限为允许完全访问, 请注意数据安全,建议执行可信任的任务。 允许完全访问 12