Stable Diffusion 模型下载:DreamShaper XL(梦想塑造者 XL)
本文收录于《AI绘画从入门到精通》专栏,专栏总目录:点这里。
文章目录
- 模型介绍
- 生成案例
- 案例一
- 案例二
- 案例三
- 案例四
- 案例五
- 案例六
- 案例七
- 案例八
- 案例九
- 案例十
- 下载地址
模型介绍
DreamShaper 是一个分格多样的大模型,可以生成写实、原画、2.5D 等多种图片,能生成很棒的人像和风景图。
DreamShaper是一个通用的SD模型,旨在做好一切,照片,艺术,动漫,漫画。它的设计是为了对抗其他通用模型和管道,如Midjourney和DALL-E
条目 | 内容 |
---|---|
类型 | 大模型 |
基础模型 | SDXL Turbo |
来源 | CIVITAI |
作者 | Lykon |
文件名称 | dreamshaperXL_v2TurboDpmppSDE.safetensors |
文件大小 | 6.46GB |
生成案例
案例一
In Casey Baugh's evocative style, art of a beautiful young girl cyborg with long brown hair, futuristic, scifi, intricate, elegant, highly detailed, majestic, Baugh's brushwork infuses the painting with a unique combination of realism and abstraction, greg rutkowski, surreal gold filigree, broken glass, (masterpiece, sidelighting, finely detailed beautiful eyes: 1.2), hdr, realistic painting, natural skin, textured skin, closed mouth, crystal eyes, butterfly filigree, chest armor, eye makeup, robot joints, long hair moved by the wind, window facing to another world, Baugh's distinctive style captures the essence of the girl's enigmatic nature, inviting viewers to explore the depths of her soul, award winning art <lora:aesthetic_anime_v1s:1>
Negative prompt: ugly, deformed, noisy, blurry, low contrast, text, BadDream, 3d, cgi, render, fake, anime, open mouth, big forehead, long neck
Steps: 8, Size: 768x1216, Seed: 554464390, Model: DreamShaperXL_Turbo_v2, Version: v1.6.1, Sampler: DPM++ SDE Karras, CFG scale: 2, Model hash: 4726d3bab1, Hires steps: 5, Hires upscale: 1.6, Hires upscaler: 8x_NMKD-Superscale_150000_G, ADetailer model: mediapipe_face_mesh_eyes_only, ADetailer steps: 5, ADetailer prompt: "In Casey Baugh's evocative style, art of a beautiful young girl cyborg with long brown hair, futuristic, scifi, intricate, elegant, highly detailed, majestic, Baugh's brushwork infuses the painting with a unique combination of realism and abstraction, greg rutkowski, surreal gold filigree, broken glass, (masterpiece, sidelighting, ADetailer version: 23.11.1, Denoising strength: 0.5, ADetailer CFG scale: 2.0, ADetailer mask blur: 7, ADetailer model 2nd: mediapipe_face_mesh_eyes_only, "aesthetic_anime_v1s: 96312f4032a9", ADetailer confidence: 0.3, ADetailer prompt 2nd: "Photo of a girl, cinematic film still, super saiyan", ADetailer dilate erode: 4, ADetailer mask blur 2nd: 4, ADetailer confidence 2nd: 0.3, ADetailer inpaint padding: 32, ADetailer negative prompt: "ugly, deformed, noisy, blurry, low contrast, text, BadDream, 3d, cgi, render, fake, anime, open mouth, big forehead, long neck", ADetailer dilate erode 2nd: 4, ADetailer denoising strength: 0.2, ADetailer use separate steps: True, ADetailer inpaint only masked: True, ADetailer inpaint padding 2nd: 32, ADetailer negative prompt 2nd: "BadDream, UnrealisticDream", finely detailed beautiful eyes: 1.2), hdr, realistic painting, natural skin, textured skin, closed mouth, crystal eyes, butterfly filigree, chest armor, eye makeup, robot joints, long hair moved by the wind, window facing to another world, Baugh's distinctive style captures the essence of the girl's enigmatic nature, inviting viewers to explore the depths of her soul, award winning art", ADetailer denoising strength 2nd: 0.4, ADetailer use separate CFG scale: True, ADetailer inpaint only masked 2nd: True, ADetailer mask only top k largest: 1
案例二
cinematic film still, close up, photo of redheaded girl near grasses, fictional landscapes, (intense sunlight:1.4), realist detail, brooding mood, ue5, detailed character expressions, light amber and red, amazing quality, wallpaper, analog film grain
Negative prompt: (low quality, worst quality:1.4), cgi, text, signature, watermark, extra limbs, ((nipples))
Steps: 8, RNG: CPU, Size: 768x1024, Seed: 3346112079, Model: DreamShaperXL_Turbo_v2, Version: v1.6.1, Sampler: DPM++ SDE Karras, CFG scale: 2, Clip skip: 2, Model hash: 4726d3bab1, Hires steps: 5, Hires upscale: 1.6, worst quality: 1.4), cgi, text, signature, watermark, extra limbs", Hires upscaler: 8x_NMKD-Superscale_150000_G, ADetailer model: mediapipe_face_mesh_eyes_only, ADetailer steps: 5, ADetailer prompt: "cinematic film still, photo of a girl", ADetailer version: 23.11.1, Denoising strength: 0.52, ADetailer CFG scale: 2.0, ADetailer mask blur: 7, ADetailer model 2nd: hand_yolov8n.pt, ADetailer confidence: 0.3, ADetailer prompt 2nd: hand, ADetailer dilate erode: 4, ADetailer mask blur 2nd: 4, ADetailer confidence 2nd: 0.3, ADetailer inpaint padding: 32, ADetailer negative prompt: "(low quality, ADetailer dilate erode 2nd: 4, ADetailer denoising strength: 0.35, ADetailer use separate steps: True, ADetailer inpaint only masked: True, ADetailer inpaint padding 2nd: 32, ADetailer denoising strength 2nd: 0.4, ADetailer use separate CFG scale: True, ADetailer inpaint only masked 2nd: True, ADetailer mask only top k largest: 1
案例三
anime style, 1girl, blunt bangs, high ponytail, silver hair, pointy ears, in the depths of a bioluminescent alien jungle, [evangelion:cyberpunk edgerunners:0.5], reflective transparent iridescent opaque clothing, long sleeves, flowing dress, long skirt, very aesthetic, highres, 4k, 8k, intricate detail, cinematic lighting, amazing quality, amazing shading, detailed Illustration, official artwork, wallpaper, official art, extremely detailed eyes and face, beautiful detailed eyes, from below, full body, thigh gap, <lora:aesthetic_anime_v1s:1>
Negative prompt: (low quality, worst quality:1.4), negativeXL_D, cgi, text, signature, watermark, extra limbs, holding dress
Steps: 8, RNG: CPU, Size: 1216x768, Seed: 1136711378, Model: DreamShaperXL_Turbo_v2, Version: v1.6.1, Sampler: DPM++ SDE Karras, CFG scale: 2, Clip skip: 2, Model hash: 4726d3bab1, Hires steps: 5, negativeXL_D: fff5d51ab655", "negativeXL_D: fff5d51ab655, Hires upscale: 1.4, worst quality: 1.4), negativeXL_D, cgi, text, signature, watermark, extra limbs, holding dress", Hires upscaler: 8x_NMKD-Superscale_150000_G, ADetailer model: mediapipe_face_mesh_eyes_only, ADetailer steps: 5, ADetailer prompt: "anime style, 1girl, blunt bangs, high ponytail, silver hair, pointy ears, in the depths of a bioluminescent alien jungle, ADetailer version: 23.11.1, Denoising strength: 0.45, ADetailer CFG scale: 2.0, ADetailer mask blur: 4, ADetailer model 2nd: mediapipe_face_mesh_eyes_only, aesthetic_anime_v1s: 1>", "aesthetic_anime_v1s: 96312f4032a9", ADetailer confidence: 0.3, ADetailer prompt 2nd: "Photo of a girl, cinematic film still, super saiyan", cyberpunk edgerunners: 0.5], reflective transparent iridescent opaque clothing, long sleeves, flowing dress, long skirt, very aesthetic, highres, 4k, 8k, intricate detail, cinematic lighting, amazing quality, amazing shading, detailed Illustration, official artwork, wallpaper, official art, extremely detailed eyes and face, beautiful detailed eyes, from below, full body, thigh gap, ADetailer dilate erode: 4, ADetailer mask blur 2nd: 4, ADetailer confidence 2nd: 0.3, ADetailer inpaint padding: 32, ADetailer negative prompt: "(low quality, ADetailer dilate erode 2nd: 4, ADetailer denoising strength: 0.33, ADetailer use separate steps: True, ADetailer inpaint only masked: True, ADetailer inpaint padding 2nd: 32, ADetailer negative prompt 2nd: "BadDream, UnrealisticDream", ADetailer denoising strength 2nd: 0.4, ADetailer use separate CFG scale: True, ADetailer inpaint only masked 2nd: True, ADetailer mask only top k largest: 1
案例四
mysterious silhouette forest woman, by Minjae Lee, Carne Griffiths, Emily Kell, Geoffroy Thoorens, Aaron Horkey, Jordan Grimmer, Greg Rutkowski, amazing depth, masterwork, surreal, geometric patterns, intricately detailed, bokeh, perfect balanced, deep fine borders, artistic photorealism , smooth, great masterwork by head of prompt engineering <lora:add-detail-xl:2>
Negative prompt: boring,text,signature,logo,watermark,low quality, bad quality, loose artifacts, grainy, blurry, long neck, closed eyes, face jewellery
Steps: 10, Size: 768x1024, Seed: 939365161, Model: DreamShaperXL_Turbo_v2, Version: v1.6.1, Sampler: DPM++ SDE Karras, CFG scale: 2, Model hash: 4726d3bab1, Hires steps: 15, Hires upscale: 1.6, "add-detail-xl: 9c783c8ce46c", Hires upscaler: Latent (bicubic antialiased), Denoising strength: 0.5
案例五
(masterpiece, best quality, ultra-detailed, best shadow), cinematic film still, photo of a man wearing a high tech scifi armor, mecha armor, male focus, armor, solo, facial hair, cape, beard, looking at viewer, blue eyes, blurry background, power armor, knee protection, standing, brown hair, science fiction <lora:aesthetic_anime_v1s:1.2>
Negative prompt: (low quality, worst quality:1.4), cgi, text, signature, watermark, extra limbs, ((nipples))
Steps: 8, RNG: CPU, Size: 768x1216, Seed: 2067885438, Model: DreamShaperXL_Turbo_v2, Sampler: DPM++ SDE Karras, CFG scale: 2, Clip skip: 2, Model hash: 4726d3bab1, worst quality: 1.4), cgi, text, signature, watermark, extra limbs", ADetailer model: mediapipe_face_mesh_eyes_only, ADetailer prompt: "handsome face, perfect eyes", Denoising strength: 0.52, ADetailer mask blur: 4, ADetailer model 2nd: hand_yolov8n.pt, ADetailer confidence: 0.2, ADetailer prompt 2nd: hand, ADetailer dilate erode: 4, ADetailer inpaint padding: 32, ADetailer negative prompt: "(low quality, ADetailer denoising strength: 0.4, ADetailer inpaint only masked: True, ADetailer negative prompt 2nd: " (low quality, ADetailer mask only top k largest: 1
案例六
cinematic film still, close up, a robot woman stands tall, half-human half machine, amongst an ancient Greek gallery of paintings and marble, religious symbolism, quantum wavetracing, high fashion editorial, glsl shaders, semiconductors and electronic computer hardware, amazing quality, wallpaper, analog film grain, perfect face skin <lora:aesthetic_anime_v1s:1.1>
Negative prompt: (low quality, worst quality:1.4), cgi, text, signature, watermark, extra limbs, ((nipples))
Steps: 8, RNG: CPU, Size: 768x1024, Seed: 2946499990, Model: DreamShaperXL_Turbo_v2, Version: v1.6.1, Sampler: DPM++ SDE Karras, CFG scale: 2, Clip skip: 2, Model hash: 4726d3bab1, Hires steps: 5, Hires upscale: 1.4, worst quality: 1.4), cgi, text, signature, watermark, extra limbs", Hires upscaler: 8x_NMKD-Superscale_150000_G, ADetailer model: mediapipe_face_mesh_eyes_only, ADetailer steps: 5, ADetailer prompt: "cinematic film still, a woman stands tall, half-human half machine, amongst an ancient Greek gallery of paintings and marble, religious symbolism, quantum wavetracing, high fashion editorial, glsl shaders, semiconductors and electronic computer hardware, amazing quality, ADetailer version: 23.11.1, Denoising strength: 0.52, ADetailer CFG scale: 2.0, ADetailer mask blur: 4, ADetailer model 2nd: hand_yolov8n.pt, aesthetic_anime_v1s: 1.1>", "aesthetic_anime_v1s: 96312f4032a9", ADetailer confidence: 0.25, ADetailer prompt 2nd: hand, ADetailer dilate erode: 4, ADetailer mask blur 2nd: 4, ADetailer confidence 2nd: 0.3, ADetailer inpaint padding: 32, ADetailer negative prompt: "(low quality, ADetailer dilate erode 2nd: 4, ADetailer denoising strength: 0.4, ADetailer use separate steps: True, ADetailer inpaint only masked: True, ADetailer inpaint padding 2nd: 32, ADetailer denoising strength 2nd: 0.4, ADetailer use separate CFG scale: True, ADetailer inpaint only masked 2nd: True, ADetailer mask only top k largest: 1
案例七
anime girl, night, blue light behind her, ((Galaxy, Lens flare)), short hair, flower field, night sky, cinematic shot. Wallpaper. (Blue color schema), detailed background, a city in the distance
Negative prompt: cgi, 3d render, bad quality, worst quality, text, signature, watermark, extra limbs,
Steps: 8, RNG: CPU, Size: 1024x768, Seed: 2084045070, Model: DreamShaperXL_Turbo_v2, Version: v1.6.1, Sampler: DPM++ SDE Karras, CFG scale: 2, Clip skip: 2, Model hash: 4726d3bab1, Hires steps: 5, Hires upscale: 1.5, Hires upscaler: 8x_NMKD-Superscale_150000_G, ADetailer model: face_yolov8n.pt, ADetailer prompt: "anime girl, night, blue light behind her, ((Galaxy, Lens flare)), short hair, flower field, night sky, cinematic shot. Wallpaper. (Blue color schema), detailed background, a city in the distance", ADetailer version: 23.11.1, Denoising strength: 0.45, ADetailer mask blur: 4, ADetailer confidence: 0.2, ADetailer dilate erode: 4, ADetailer inpaint padding: 32, ADetailer negative prompt: "cgi, 3d render, bad quality, worst quality, text, signature, watermark, extra limbs,", ADetailer denoising strength: 0.37, ADetailer inpaint only masked: True
案例八
cinematic film still, close up, photo of a cute Pokémon, in the style of hyper-realistic fantasy,, sony fe 12-24mm f/2.8 gm, close up, 32k uhd, light navy and light amber, kushan empirem alluring, perfect skin, seductive, amazing quality, wallpaper, analog film grain <lora:aesthetic_anime_v1s:0.5> <lora:add-detail-xl:1.1>
Negative prompt: Pikachu, (low quality, worst quality:1.4), cgi, text, signature, watermark, extra limbs, ((nipples))
Steps: 8, RNG: CPU, Size: 1216x768, Seed: 1592846094, Model: DreamShaperXL_Turbo_v2, Version: v1.6.1, Sampler: DPM++ SDE Karras, CFG scale: 2, Clip skip: 2, Model hash: 4726d3bab1, Hires steps: 5, Hires upscale: 1.4, add-detail-xl: 9c783c8ce46c", Hires upscaler: 8x_NMKD-Superscale_150000_G, Denoising strength: 0.52, "aesthetic_anime_v1s: 96312f4032a9
案例九
masterpiece, best quality,
cinematic film still, realistic, portrait, solo, white mecha robot, cape, science fiction, torn clothes, glowing, standing, robot joints, mecha, armor, cowboy shot, (floating cape), intense sunlight, silver dragonborn, outdoors, landscape, nature
highres, 4k, 8k, intricate detail, cinematic lighting, amazing quality, wallpaper <lora:aesthetic_anime_v1s:1.1>
Negative prompt: nipples, (low quality, worst quality:1.4), cgi, text, signature, watermark, extra limbs
Steps: 8, RNG: CPU, Size: 768x1024, Seed: 2067885437, Model: DreamShaperXL_Turbo_v2, Version: v1.6.1, Sampler: DPM++ SDE Karras, CFG scale: 2, Clip skip: 2, Model hash: 4726d3bab1, Hires steps: 5, Hires upscale: 1.4, Hires upscaler: 8x_NMKD-Superscale_150000_G, Denoising strength: 0.52, "aesthetic_anime_v1s: 96312f4032a9"
案例十
Photo of a girl,cinematic film still,super saiyan, full plate armor, ony fe 12-24mm f/2.8 gm, close up, 32k uhd, light navy and light amber, amazing quality, wallpaper, analog film grain
Negative prompt: (low quality, worst quality:1.4), cgi, text, signature, watermark, extra limbs,
Steps: 8, Size: 768x1024, Seed: 1850492237, Model: DreamShaperXL_Turbo_v2, Version: v1.6.1, Sampler: DPM++ SDE Karras, CFG scale: 2, Clip skip: 2, Model hash: 4726d3bab1, Hires steps: 5, Hires upscale: 1.5, Hires upscaler: 8x_NMKD-Superscale_150000_G, Denoising strength: 0.45, Token merging ratio: 0.3, Token merging ratio hr: 0.3
下载地址
链接:https://pan.quark.cn/s/c0326cada8dc
提取码:SKgx
相关文章:

Stable Diffusion 模型下载:DreamShaper XL(梦想塑造者 XL)
本文收录于《AI绘画从入门到精通》专栏,专栏总目录:点这里。 文章目录 模型介绍生成案例案例一案例二案例三案例四案例五案例六案例七案例八案例九案例十 下载地址 模型介绍 DreamShaper 是一个分格多样的大模型,可以生成写实、原画、2.5D 等…...

【机器学习】数据清洗之处理异常点
🎈个人主页:甜美的江 🎉欢迎 👍点赞✍评论⭐收藏 🤗收录专栏:机器学习 🤝希望本文对您有所裨益,如有不足之处,欢迎在评论区提出指正,让我们共同学习、交流进步…...
JavaScript学习之旅10------掌握jQuery:实用应用案例深度解析
目录 写在开头1. jQuery基础知识回顾1.1. 选择器1.2. 事件1.3. 效果1.4. DOM操作1.5. AJAX 2. 实用应用案例分析2.1. 动态内容加载2.2. 表单验证2.3. 图像滑动门效果2.4. 创建动态导航菜单 3. 高级技巧与最佳实践3.1. 优化jQuery代码的性能3.2. jQuery插件的使用和自定义3.3. j…...
017_逆向工程搭建和使用
文章目录 启动代码生成器然后访问第一步处理:前端代码删除逆向生成的代码中有好多东西要引入创建gulimall-common插曲:修改模块名dao层entity层service层controllerRQuery文件当中的报错☆ 调整renren-generator的逆向工程逆向生成代码当中有什么总结...

位运算+leetcode(1)
基础 1.基础知识 以下都是针对数字的二进制进行操作 >> 右移操作符<< 左移操作符~ 取反操作符 & 有0就是0,全一才一 | 有一才一 ,全0才0^ 相同为0,相异为1 异或( ^ )运算的规律 a ^ 0 a a ^ a 0a ^ b ^ c a ^ (b …...
如何在 JavaScript 中比较两个日期 – 技术、方法和最佳实践
在 JavaScript 中,您可以使用 date 对象有效地处理应用程序中的日期、时间和时区。 Date 对象可帮助您有效地操作数据、处理各种与日期相关的任务,并在创建实际应用程序时执行一些计算。 (本文内容参考:java567.com)…...
【More Effective C++】条款17:考虑使用lazy evaluation
含义:将计算拖延到必须计算的时候,以下为4个场景 优点:避免不必要的计算,节省成本 缺点: 管理复杂性:可能会增加代码复杂性,特别是在多线程环境中需要正确处理同步和并发问题。性能开销&…...

深入探索Pandas读写XML文件的完整指南与实战read_xml、to_xml【第79篇—读写XML文件】
深入探索Pandas读写XML文件的完整指南与实战read_xml、to_xml XML(eXtensible Markup Language)是一种常见的数据交换格式,广泛应用于各种应用程序和领域。在数据处理中,Pandas是一个强大的工具,它提供了read_xml和to…...
如何在我们的模型中使用Beam search
在上一篇文章中我们具体探讨了Beam search的思想以及Beam search的大致工作流程。根据对Beam search的大致流程我们已经清楚了,在这我们来具体实现一下Beam search并应用在我们的seq2seq任务中。 1. python中的堆(heapq) 堆是一种特殊的树形…...

PKI - 借助Nginx 实现Https 服务端单向认证、服务端客户端双向认证
文章目录 Openssl操系统默认的CA证书的公钥位置Nginx Https 自签证书1. 生成自签名证书和私钥2. 配置 Nginx 使用 HTTPS3. 重启 Nginx 服务4. 直接访问5. 不验证证书直接访问6. 使用server.crt作为ca证书验证服务端解决方法1:使用 --resolve 参数进行请求域名解析解…...

WebSocket原理详解
目录 1.引言 1.1.使用HTTP不断轮询 1.2.长轮询 2.websocket 2.1.概述 2.2.websocket建立过程 2.3.抓包分析 2.4.websocket的消息格式 3.使用场景 4.总结 1.引言 平时我们打开网页,比如购物网站某宝。都是点一下列表商品,跳转一下网页就到了商品…...

在面试中如何回复擅长vue还是react
当面试官问及这个问题的时候,我们需要思考面试官是否是在乎你是掌握vue还是react吗??? 在大前端的一个环境下,当前又有AI人工智能的加持辅助,我们是不是要去思考企业在进行前端岗位人员需求的时候…...

使用Vue.js输出一个hello world
导入vue.js <script src"https://cdn.jsdelivr.net/npm/vue2/dist/vue.js"></script> 创建一个标签 <div id"app">{{message}}</div> 接管标签内容,创建vue实例 <script type"text/javascript">va…...

15 ABC基于状态机的按键消抖原理与状态转移图
1. 基于状态机的按键消抖 1.1 什么是按键? 从按键结构图10-1可知,按键按下时,接点(端子)与导线接通,松开时,由于弹簧的反作用力,接点(端子)与导线断开。 从…...
λ-矩阵的多项式展开
原文链接 定义. 对于 m n m \times n mn 的 λ \lambda λ-矩阵 A ( λ ) [ a 11 ( λ ) . . . a 1 n ( λ ) ⋮ ⋮ a m 1 ( λ ) . . . a m n ( λ ) ] \mathbf{A}(\lambda)\begin{bmatrix} a_{11}(\lambda) & ... & a_{1n}(\lambda)\\ \vdots & & \vdo…...

如何在PDF 文件中删除页面?
查看不同的工具以及解释如何在 Windows、Android、macOS 和 iOS 上从 PDF 删除页面的步骤: PDF 是最难处理的文件格式之一。曾经有一段时间,除了阅读之外,无法用 PDF 做任何事情。但是今天,有许多应用程序和工具可以让您用它们做…...
蓝桥杯官网填空题(质数拆分)
问题描述 将 2022 拆分成不同的质数的和,请问最多拆分成几个? 答案提交 本题为一道结果填空的题,只需要算出结果后,在代码中使用输出语句将结果输出即可。 运行限制 import java.util.Scanner;public class Main {static int …...

【数据结构】二叉树的顺序结构及链式结构
目录 1.树的概念及结构 1.1树的概念 1.2树的相关概念 编辑 1.3树的表示 1.4树在实际中的运用(表示文件系统的目录树结构) 2.二叉树概念及结构 2.1二叉树的概念 2.2现实中的二叉树 编辑 2.3特殊的二叉树 2.4二叉树的性质 2.5二叉树的存储结…...

海外IP代理:解锁网络边界的实战利器
文章目录 引言:正文:一、Roxlabs全球IP代理服务概览特点:覆盖范围:住宅IP真实性:性价比:在网络数据采集中的重要性: 二、实战应用案例一:跨境电商竞品分析步骤介绍:代码示…...

如何写好一个简历
如何编写求职简历 论Java程序员求职中简历的重要性 好简历的作用 在求职过程中,一份好的简历是非常重要的,它甚至可以直接决定能否被面试官认可。一份出色或者说是成功的个人简历,最根本的作用是能让看这份简历的人产生一定要见你的强烈愿…...

Opencv中的addweighted函数
一.addweighted函数作用 addweighted()是OpenCV库中用于图像处理的函数,主要功能是将两个输入图像(尺寸和类型相同)按照指定的权重进行加权叠加(图像融合),并添加一个标量值&#x…...
MVC 数据库
MVC 数据库 引言 在软件开发领域,Model-View-Controller(MVC)是一种流行的软件架构模式,它将应用程序分为三个核心组件:模型(Model)、视图(View)和控制器(Controller)。这种模式有助于提高代码的可维护性和可扩展性。本文将深入探讨MVC架构与数据库之间的关系,以…...

CocosCreator 之 JavaScript/TypeScript和Java的相互交互
引擎版本: 3.8.1 语言: JavaScript/TypeScript、C、Java 环境:Window 参考:Java原生反射机制 您好,我是鹤九日! 回顾 在上篇文章中:CocosCreator Android项目接入UnityAds 广告SDK。 我们简单讲…...

DBAPI如何优雅的获取单条数据
API如何优雅的获取单条数据 案例一 对于查询类API,查询的是单条数据,比如根据主键ID查询用户信息,sql如下: select id, name, age from user where id #{id}API默认返回的数据格式是多条的,如下: {&qu…...
Spring AI 入门:Java 开发者的生成式 AI 实践之路
一、Spring AI 简介 在人工智能技术快速迭代的今天,Spring AI 作为 Spring 生态系统的新生力量,正在成为 Java 开发者拥抱生成式 AI 的最佳选择。该框架通过模块化设计实现了与主流 AI 服务(如 OpenAI、Anthropic)的无缝对接&…...
06 Deep learning神经网络编程基础 激活函数 --吴恩达
深度学习激活函数详解 一、核心作用 引入非线性:使神经网络可学习复杂模式控制输出范围:如Sigmoid将输出限制在(0,1)梯度传递:影响反向传播的稳定性二、常见类型及数学表达 Sigmoid σ ( x ) = 1 1 +...
什么?连接服务器也能可视化显示界面?:基于X11 Forwarding + CentOS + MobaXterm实战指南
文章目录 什么是X11?环境准备实战步骤1️⃣ 服务器端配置(CentOS)2️⃣ 客户端配置(MobaXterm)3️⃣ 验证X11 Forwarding4️⃣ 运行自定义GUI程序(Python示例)5️⃣ 成功效果
Rust 开发环境搭建
环境搭建 1、开发工具RustRover 或者vs code 2、Cygwin64 安装 https://cygwin.com/install.html 在工具终端执行: rustup toolchain install stable-x86_64-pc-windows-gnu rustup default stable-x86_64-pc-windows-gnu 2、Hello World fn main() { println…...
Python常用模块:time、os、shutil与flask初探
一、Flask初探 & PyCharm终端配置 目的: 快速搭建小型Web服务器以提供数据。 工具: 第三方Web框架 Flask (需 pip install flask 安装)。 安装 Flask: 建议: 使用 PyCharm 内置的 Terminal (模拟命令行) 进行安装,避免频繁切换。 PyCharm Terminal 配置建议: 打开 Py…...