《TensorFlow 2项目进阶实战》6-业务落地篇:实现货架洞察Web应⽤业务落地篇:实现货架洞察 Web 应用 扫码试看/订阅 《 TensorFlow 2项目进阶实战》视频课程 • 串联 AI 流程理论:商品检测与商品识别 • 串联 AI 流程实战:商品检测与商品识别 • 展现 AI 效果理论:使用 OpenCV 可视化识别结果 • 展现 AI 效果实战:使用 OpenCV 可视化识别结果 • 搭建 AI SaaS 理论:Web 框架选型 • 搭建 AI 展现 AI 效果实战:使用 OpenCV 可视化识别结果 “Hello TensorFlow” Try it! 搭建 AI SaaS 理论:Web 框架选型 Python Web 框架 Python Web 框架 - Flask Python Web 框架 - Flask Flask 常用扩展 Flask 项目常见目录结构 启动文件 manage.py 示例 搭建 AI SaaS 理论:数据库0 码力 | 54 页 | 6.30 MB | 1 年前3
《Efficient Deep Learning Book》[EDL] Chapter 1 - IntroductionLearning to adapt such models for the real world, and a rapid growth in data collected via websites and apps (Facebook, Instagram, Google, etc.), it became possible to train models that performed well on unseen learning research has been focused on improving on the State of the Art, and as a result we have seen progressive improvements on benchmarks like image classification, text classification. Each new breakthrough0 码力 | 21 页 | 3.17 MB | 1 年前3
《Efficient Deep Learning Book》[EDL] Chapter 3 - Learning Techniquesfunction (discussed in chapter 2) and the adam optimizer. from tensorflow.keras import applications as apps from tensorflow.keras import layers, optimizers, metrics DROPOUT_RATE = 0.2 LEARNING_RATE = 0.0002 Initialize the core model core_args = dict(input_shape=(IMG_SIZE, IMG_SIZE, 3), include_top=False) core = apps.resnet50.ResNet50(**core_args) core.trainable = False # Create the full model with input, preprocessing 3], dtype = tf.uint8), layers.Lambda(lambda x: tf.cast(x, tf.float32)), layers.Lambda(lambda x: apps.resnet.preprocess_input(x)), core, layers.Flatten(), layers.Dropout(DROPOUT_RATE), layers.Dense(NUM_CLASSES0 码力 | 56 页 | 18.93 MB | 1 年前3
动手学深度学习 v2.0Gaurav Saha, Murat Semerci, Lei Mao, Zhu Yuanxiang, thebesttv, Quanshangze Du, Yanbo Chen。 我们感谢Amazon Web Services,特别是Swami Sivasubramanian、Peter DeSantis、Adam Selipsky和Andrew Jassy对撰写本书的慷慨支持。如果没有可用的时间、资 需先将当前路径定位到刚下载的本书代码解压后的目录): jupyter notebook 9 https://developer.nvidia.com/cuda‐downloads 10 目录 现在可以在Web浏览器中打开http://localhost:8888(通常会自动打开)。由此,我们可以运行这本书中每个 部分的代码。在运行书籍代码、更新深度学习框架或d2l软件包之前,请始终执行conda activate 16 目录 1 引言 时至今日,人们常用的计算机程序几乎都是软件开发人员从零编写的。比如,现在开发人员要编写一个程序 来管理网上商城。经过思考,开发人员可能提出如下一个解决方案:首先,用户通过Web浏览器(或移动应 用程序)与应用程序进行交互;紧接着,应用程序与数据库引擎进行交互,以保存交易历史记录并跟踪每个 用户的动态;其中,这个应用程序的核心——“业务逻辑”,详细说明了应用程序在各种情况下进行的操作。0 码力 | 797 页 | 29.45 MB | 1 年前3
《Efficient Deep Learning Book》[EDL] Chapter 7 - Automationimport numpy as np from matplotlib import pyplot as plt from tensorflow.keras import applications as apps from tensorflow.keras import layers, optimizers train_ds, val_ds, test_ds = tfds.load( 'oxford_flowers102' Initalize the core model core_args = dict(input_shape=(IMG_SIZE, IMG_SIZE, 3), include_top=False) core = apps.resnet50.ResNet50(**core_args) core.trainable = False # Setup the top model = tf.keras.Sequential([ IMG_SIZE, 3], dtype = tf.uint8), layers.Lambda(lambda x: tf.cast(x, tf.float32)), layers.Lambda(lambda x: apps.resnet.preprocess_input(x)), core, layers.Flatten(), layers.Dropout(dropout_rate), layers.Dense(NUM_CLASSES0 码力 | 33 页 | 2.48 MB | 1 年前3
《Efficient Deep Learning Book》[EDL] Chapter 4 - Efficient Architecturesas tfds from tensorflow.keras import layers, optimizers, metrics, losses, utils, applications as apps, callbacks as cbs from tensorflow.keras.utils import plot_model from matplotlib import pyplot as0 码力 | 53 页 | 3.92 MB | 1 年前3
PyTorch Release Notesunderstand improve performance of their models with visualization by using the DLProf Viewer in a web browser or by analyzing text reports. DL Prof is available on NGC or through a Python PIP wheel installation understand improve performance of their models with visualization by using the DLProf Viewer in a web browser or by analyzing text reports. DL Prof is available on NGC or through a Python PIP wheel installation understand improve performance of their models with visualization by using the DLProf Viewer in a web browser or by analyzing text reports. DL Prof is available on NGC or through a Python PIP wheel installation0 码力 | 365 页 | 2.94 MB | 1 年前3
AI大模型千问 qwen 中文文档Modelfile 完成后,你即可运行你的 ollama 模型: ollama run qwen7b 1.6 Text Generation Web UI Text Generation Web UI(简称 TGW,通常被称为“oobabooga”)是一款流行的文本生成 Web 界面工具,类似 于 AUTOMATIC1111/stable-diffusion-webui 。它拥有多个交互界面,并支持多种模型后端,包括 ├── Qwen1.5-7B-Chat │ │ ├── config.json │ │ ├── generation_config.json (续下页) 1.6. Text Generation Web UI 11 Qwen (接上页) │ │ ├── model-00001-of-00004.safetensor │ │ ├── model-00002-of-00004.safetensor 随后你需要运行 python server.py 来启动你的网页服务。请点击进入 `http://localhost:7860/?__theme=dark` 然后享受使用 Qwen 的 Web UI 吧! 1.6.2 下一步 TGW 中包含了许多更多用途,您甚至可以在其中享受角色扮演的乐趣,并使用不同类型的量化模型。您可 以训练诸如 LoRA 这样的算法,并将 Stable Diffusion0 码力 | 56 页 | 835.78 KB | 1 年前3
【PyTorch深度学习-龙龙老师】-测试版202112# 清零测量器 8.7 可视化 在网络训练的过程中,通过 Web 端远程监控网络的训练进度,可视化网络的训练结 果,对于提高开发效率和实现远程监控是非常重要的。TensorFlow 提供了一个专门的可视 化工具,叫做 TensorBoard,它通过 TensorFlow 将监控数据写入到文件系统,并利用 Web 后端监控对应的文件目录,从而可以允许用户从远程查看网络的监控数据。 在运行程序时,监控数据被写入到指定文件目录中。如果要实时远程查看、可视化这 些数据,还需要借助于浏览器和 Web 后端。首先是打开 Web 后端,通过在 cmd 终端运行 tensorboard --logdir path 指定 Web 后端监控的文件目录 path,即可打开 Web 后端监控进 程,如图 8.2 所示: 图 8.2 启动 Web 服务器 此时打开浏览器,并输入网址 http://localhost:6006 # 清零测量器 8.7 可视化 在网络训练的过程中,通过 Web 端远程监控网络的训练进度,可视化网络的训练结 果,对于提高开发效率和实现远程监控是非常重要的。TensorFlow 提供了一个专门的可视 化工具,叫做 TensorBoard,它通过 TensorFlow 将监控数据写入到文件系统,并利用 Web 后端监控对应的文件目录,从而可以允许用户从远程查看网络的监控数据。0 码力 | 439 页 | 29.91 MB | 1 年前3
PyTorch Brand Guidelinesspecial color palette to best serve these needs. When applying color in the digital environment; web, app, and social media posts, please reference the digital RGB or hex code equivalent. When printing special color palette to best serve these needs. When applying color in the digital environment; web, app, and social media posts, please reference the digital RGB or hex code equivalent. When printing0 码力 | 12 页 | 34.16 MB | 1 年前3
共 20 条
- 1
- 2













