Tutorial Title: Getting Started with Deep Learning Using C# Author: whuanle Tutorial URL: https://torch.whuanle.cn E-book Repository: https://github.com/whuanle/cs_pytorch Maomi.Torch Project Repository: https://github.com/whuanle/Maomi.Torch VGG: A Very Deep …

2025年2月17日 0条评论 13794点热度 0人点赞 痴者工良 阅读全文

教程名称:使用 C# 入门深度学习 作者:痴者工良 教程地址: https://torch.whuanle.cn 电子书仓库:https://github.com/whuanle/cs_pytorch Maomi.Torch 项目仓库:https://github.com/whuanle/Maomi.Torch VGG大规模图像识别的超深度卷积网络 本文主要讲解用于大规模图像识别的超深度卷积网络 VGG,通过 VGG 实现自有数据集进行图像分类训练模型和识别,VGG 有 vgg11、vgg11_bn、vgg13、v…

2025年2月17日 0条评论 13818点热度 0人点赞 痴者工良 阅读全文

Kratos Kratos is a lightweight microservice framework written in Go. The official documentation can be found at: https://go-kratos.dev/docs/ Kratos core component diagram: Description of Kratos core components: APIs: Protocol communication is based on HTTP/gRP…

2025年2月14日 0条评论 14687点热度 1人点赞 痴者工良 阅读全文

Kratos Kratos 是一个轻量级的微服务框架,使用 Go 语言编写,官方文档地址: https://go-kratos.dev/docs/ Kratos 核心组件图: Kratos 核心组件说明: APIs:协议通信以 HTTP/gRPC 为基础,通过 Protobuf 进行定义; Errors:通过 Protobuf 的 Enum 作为错误码定义,以及工具生成判定接口; Metadata:在协议通信 HTTP/gRPC 中,通过 Middleware 规范化服务元信息传递; Config:支持多数据源方式…

2025年2月14日 2条评论 22795点热度 2人点赞 痴者工良 阅读全文

Training and Generating Avatars via Generative Adversarial Networks (GAN) https://torch.whuanle.cn E-book repository: https://github.com/whuanle/cs_pytorch Maomi.Torch project repository: https://github.com/whuanle/Maomi.Torch Description This article is adapt…

2025年2月10日 0条评论 15382点热度 0人点赞 痴者工良 阅读全文

通过生成对抗网络(GAN)训练和生成头像 https://torch.whuanle.cn 电子书仓库:https://github.com/whuanle/cs_pytorch Maomi.Torch 项目仓库:https://github.com/whuanle/Maomi.Torch 说明 本文根据 Pytorch 官方文档的示例移植而来,部分文字内容和图片来自 Pytorch 文档,文章后面不再单独列出引用说明。 官方文档地址: https://pytorch.org/tutorials/beginner/…

2025年2月10日 0条评论 14230点热度 0人点赞 痴者工良 阅读全文

[TOC] Tutorial Title: Getting Started with Deep Learning using C# Author: whuanle Tutorial URL: https://torch.whuanle.cn E-book Repository: https://github.com/whuanle/cs_pytorch Maomi.Torch Project Repository: https://github.com/whuanle/Maomi.Torch Training a …

2025年2月7日 0条评论 15647点热度 0人点赞 痴者工良 阅读全文

[TOC] 教程名称:使用 C# 入门深度学习 作者:痴者工良 教程地址:https://torch.whuanle.cn 电子书仓库:https://github.com/whuanle/cs_pytorch Maomi.Torch 项目仓库:https://github.com/whuanle/Maomi.Torch 使用 Torch 训练模型 本章主要参考《破解深度学习》的第四章,在本章将会实现一个数字分类器,主要包括数据加载和处理、模型训练和保存、预训练模型加载,但是内容跟 开始使用 Torch 一章差不多…

2025年2月7日 0条评论 14255点热度 0人点赞 痴者工良 阅读全文

Tutorial Name: Getting Started with Deep Learning using C# Author: whuanle Tutorial Address: https://torch.whuanle.cn E-book Repository: https://github.com/whuanle/cs_pytorch Maomi.Torch Project Repository: https://github.com/whuanle/Maomi.Torch Getting Starte…

2025年2月5日 2条评论 19119点热度 0人点赞 痴者工良 阅读全文

教程名称:使用 C# 入门深度学习 作者:痴者工良 教程地址:https://torch.whuanle.cn 电子书仓库:https://github.com/whuanle/cs_pytorch Maomi.Torch 项目仓库:https://github.com/whuanle/Maomi.Torch 开始使用 Torch 本章内容主要基于 Pytorch 官方入门教程编写,使用 C# 代码代替 Python,主要内容包括处理数据、创建模型、优化模型参数、保存模型、加载模型,读者通过本章内容开始了解 Tor…

2025年2月5日 2条评论 15524点热度 0人点赞 痴者工良 阅读全文

显卡驱动安装和深度学习环境搭建,可以参考笔者的文章: https://www.whuanle.cn/archives/21624 https://torch.whuanle.cn/01.base/01.env.html Testing Environment AMD EPYC 7V13 64-Core 24 Cores 220GB RAM NVIDIA A100 80GB PCIe Download and Install Ollama Open https://ollama.com/, and simply do…

2025年2月4日 0条评论 11699点热度 6人点赞 痴者工良 阅读全文

显卡驱动安装和深度学习环境搭建,可以参考笔者的文章: https://www.whuanle.cn/archives/21624 https://torch.whuanle.cn/01.base/01.env.html 测试环境 AMD EPYC 7V13 64-Core 24核 220GB 内存 NVIDIA A100 80GB PCIe 下载安装 ollama 打开 https://ollama.com/,直接下载安装即可。 配置 ollama 有三个环境变量要配置。 # api 服务监听地址 OLLAMA_H…

2025年2月4日 0条评论 41159点热度 6人点赞 痴者工良 阅读全文

In the multithreading column, knowledge related to C# timers has been written, but the content is not very complete. Recently, I have deepened some understanding, and I will make some notes. https://threads.whuanle.cn/1.thread_basic/3.pool.html#%E8%AE%A1%E6%97…

2025年1月3日 0条评论 11551点热度 2人点赞 痴者工良 阅读全文

在多线程专栏中编写了 C# 定时器相关知识,但是内容不是很完善,近期加深了一些认识,顺便做一下笔记。 https://threads.whuanle.cn/1.thread_basic/3.pool.html#%E8%AE%A1%E6%97%B6%E5%99%A8 这里不提桌面里面的定时器,只讨论 .NET 本身的定时器,有: System.Threading.Timer System.Timers.Timer PeriodicTimer System.Threading.Timer 是 .NET 中的基础定时器,…

2025年1月3日 0条评论 13347点热度 2人点赞 痴者工良 阅读全文

Serilog: Using: - "Serilog.Sinks.Console" MinimumLevel: Default: Information Override: Microsoft.AspNetCore.HttpLogging: Information ProtoBuf.Grpc.Server.ServicesExtensions.CodeFirstServiceMethodProvider: Warning Microsoft.EntityFrameworkCore: Inform…

2024年12月30日 0条评论 1936点热度 1人点赞 痴者工良 阅读全文

通用模板如下: Serilog: Using: - "Serilog.Sinks.Console" MinimumLevel: Default: Information Override: Microsoft.AspNetCore.HttpLogging: Information ProtoBuf.Grpc.Server.ServicesExtensions.CodeFirstServiceMethodProvider: Warning Microsoft.EntityFrameworkCore: Informat…

2024年12月30日 0条评论 4346点热度 1人点赞 痴者工良 阅读全文

教程名称:Getting Started with Deep Learning Using C# 作者:whuanle 地址: https://torch.whuanle.cn 1.2 Basic of Pytorch This section introduces the basic API of Pytorch, primarily focusing on how to create and manipulate arrays. Since the content is quite similar to Num…

2024年11月12日 1条评论 2347点热度 2人点赞 痴者工良 阅读全文

教程名称:使用 C# 入门深度学习 作者:痴者工良 地址: https://torch.whuanle.cn 1.2 Pytorch 基础 本文内容介绍 Pytorcn 的基础 API,主要是数组的创建方式和运算方式,由于相关内容跟 Numpy 比较相似,并且 Numpy 类型可以转 torch.Tensor,因此对 Numpy 感兴趣的读者可以参考笔者的其它文章: Python 之 Numpy 框架入门 https://www.whuanle.cn/archives/21461 https://www.cnblo…

2024年11月12日 1条评论 5786点热度 2人点赞 痴者工良 阅读全文

学习模型开发时,搭建环境可能会碰到很多曲折,这里提供一些通用的环境搭建安装方法,以便读者能够快速搭建出一套 AI 模型开发调试环境。 Installing Graphics Card Drivers and Development Libraries This article only covers the installation method for NVIDIA graphics card drivers. There are multiple series of NVIDIA graphics cards,…

2024年9月1日 2条评论 1936点热度 2人点赞 痴者工良 阅读全文

学习模型开发时,搭建环境可能会碰到很多曲折,这里提供一些通用的环境搭建安装方法,以便读者能够快速搭建出一套 AI 模型开发调试环境。 安装显卡驱动和开发库 本文只讲述 NVIDIA 显卡驱动的安装方法。 NVIDIA 显卡有多个系列,常用的有 Tensor 和 GeForce RTX 系列,两类显卡的驱动安装方式不一样,下面的章节会单独介绍如何安装驱动。 第一步,检测电脑是否正确识别显卡或已安装驱动。 打开设备管理器,点击 显示适配器 ,查看设备列表是否存在显卡。 如果电脑已经识别出显卡,可以通过 NVIDIA G…

2024年9月1日 2条评论 8757点热度 2人点赞 痴者工良 阅读全文
1234554