BaoAI 生产部署

自动部署开源AI模型到生产环境:Sklearn、XGBoost、LightGBM、和PySpark 介绍了如何通过DaaS-Client Python客户端自动部署开源AI模型到生产环境中:Sklearn、XGBoost、LightGBM和PySpark,并且在DaaS网络客户端管理这些模型和部署 阅读详情


建议部署在Linux环境

BaoAI Front前端部署

  • nginx 做为 Web前端服务器

  • 反向代理,用户无需访问后端API服务地址

如:原API服务地址:localhost:8000/api

反向代理:localhost:3000/api 代替 localhost:8000/api

  • URL地址采用HTML5Mode模式

如正常模式: http://www.baoai.co/#/web/main

HTML5Mode模式:http://www.baoai.co/web/main

CentOS 7 例子:

# 显示中文

export LANG=zh_CN.GB2312

# 添加CentOS 7 EPEL仓库
yum install epel-release

1.构建生产代码:


# BaoAIFront项目根目录

gulp build

将dist目录下的文件复制到centos的/baoai/BaoAIFront目录

2.安装nginx


# 现在Nginx存储库已经安装在您的服务器上,使用以下yum命令安装Nginx

yun install -y nginx

# 启动Nginx

systemctl start nginx
# 如果想在系统启动时启用Nginx

systemctl enable nginx

3.修改配置文件nginx.conf

nginx.conf默认在 /etc/nginx/nginx.conf


  upstream node {
      server 127.0.0.1:8000;
  }
  server {
    listen 80;
    server_name _;
    access_log /data/wwwlogs/access_nginx.log combined;
    root /baoai/BaoAIFront;
    index index.html index.htm index.php;
        if ($request_uri ~ ^/(static|login|register|password|app|api)) {
                set $cookie_nocache 1;
        }
        location / {
            index  index.html index.htm index.php;
            try_files $uri $uri/ /index.html =404;
            # proxy_cache cache;
            # proxy_cache_valid   200 304 12h;
            # proxy_cache_valid   any 10m;
            # add_header  Nginx-Cache "$upstream_cache_status";
            # proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
            # proxy_no_cache $cookie_nocache $arg_nocache $arg_comment;
            # proxy_no_cache $http_pargma $http_authorization;
        }

        location ^~ /static/ {
            proxy_pass http://node;
            proxy_set_header Host $http_host;
            proxy_set_header  X-Forwarded-For  $proxy_add_x_forwarded_for;
            # proxy_cache cache;
            # proxy_cache_valid   200 304 12h;
            # proxy_cache_valid   any 10m;
            # add_header  Nginx-Cache "$upstream_cache_status";
            # proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
            # proxy_no_cache $cookie_nocache $arg_nocache $arg_comment;
            # proxy_no_cache $http_pargma $http_authorization;
        }

        location ^~ /api/ 
            proxy_pass http://node;
            proxy_set_header Host $host;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;          
            # proxy_cache cache;
            # proxy_cache_valid   200 304 12h;
            # proxy_cache_valid   any 10m;
            # add_header  Nginx-Cache "$upstream_cache_status";
            # proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
            # proxy_no_cache $cookie_nocache $arg_nocache $arg_comment;
            # proxy_no_cache $http_pargma $http_authorization;
        }
    #error_page 404 /404.html;
    #error_page 502 /502.html;
    location /nginx_status {
      stub_status on;
      access_log off;
      allow 127.0.0.1;
      deny all;
    }

    # location ~ .*\.(gif|jpg|jpeg|png|bmp|swf|flv|mp4|ico)$ {
    #   expires 30d;
    #   access_log off;
    # }
    # location ~ .*\.(js|css)?$ {
    #   expires 7d;
    #   access_log off;
    # }
    location ~ ^/(\.user.ini|\.ht|\.git|\.svn|\.project|LICENSE|README.md) {
      deny all;
    }
  }

4.重启nginx

systemctl restart nginx

BaoAI Back后端部署

  • 复制源码至服务器

  • 安装mariadb【mysql】数据库

  • 安装Python环境

    • 安装 Python3.6.5

    • 创建虚拟环境 venv

    • 虚拟环境中安装依赖包

  • gunicorn 做为 wsgi服务器

  • supervisor 做为管理和守护程序

CentOS 7 例子:

# 显示中文
export LANG=zh_CN.GB2312

# 添加CentOS 7 EPEL仓库
yum install epel-release

1.将BaoAIBack源码复制到/baoai/BaoAIBack

2.安装mariadb【mysql】

注:MariaDB 数据库管理系统是 MySQL 的一个分支,主要由开源社区在维护,采用 GPL 授权许可。开发这个分支的原因之一是:甲骨文公司收购了 MySQL 后,有将 MySQL 闭源的潜在风险,因此社区采用分支的方式来避开这个风险。MariaDB完全兼容mysql,使用方法也是一样的

# 安装mariadb-server
yum install mariadb-server

# MariaDB服务开启,并设置为开机启动
systemctl start mariadb  # 开启服务
systemctl enable mariadb  # 设置为开机自启动服务

# 数据库的配置
mysql_secure_installation
Enter current password for root (enter for none):  # 输入数据库超级管理员root的密码(注意不是系统root的密码),第一次进入还没有设置密码则直接回车

Set root password? [Y/n]  # 设置密码,y

New password:  # 新密码
Re-enter new password:  # 再次输入密码

Remove anonymous users? [Y/n]  # 移除匿名用户, y

Disallow root login remotely? [Y/n]  # 拒绝root远程登录,n,不管y/n,都会拒绝root远程登录

Remove test database and access to it? [Y/n]  # 删除test数据库,y:删除。n:不删除,数据库中会有一个test数据库,一般不需要

Reload privilege tables now? [Y/n]  # 重新加载权限表,y。或者重启服务也可

# 登录MariaDB [mysql]

[root@mini ~]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 8
Server version: 5.5.60-MariaDB MariaDB Server

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]>

# 创建数据库
MariaDB [(none)]>create database baoai;

# 进入数据库
MariaDB [(none)]>use baoai;

# 导入脚本
MariaDB [(none)]>source /baoai/BaoAIBack/db/baoai.sql;

3.安装Python 3.6
yum install -y python36 python36-devel

# 查看版本
python3 -V
pip3 -V

4.创建虚拟环境


# 进入项目目录

cd /baoai/BaoAIBack/

mkdir venv

cd venv

python3 -m venv .

运行
source /baoai/BaoAIBack/venv/bin/activate

# 查看版本
python -V

# 升级pip
pip3 install --upgrade pip

5.依赖包导入

pip install  -r requirements.txt

# 如果速度慢,可以使用国内镜像
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt

6.测试运行
(venv) /baoai/BaoAIBack>python manage.py runserver --threaded

5.gunicorn运行项目
./run_baoai.sh

6.安装supervisor

# systemctl enable supervisord # 开机自启动
# systemctl start supervisord # 启动supervisord服务

# systemctl status supervisord # 查看supervisord服务状态
# ps -ef|grep supervisord # 查看是否存在supervisord进程

7.加入baoai程序

cp /baoai/BaoAIBack/deploy/baoai.ini /etc/supervisord.d/

重启supervisor
supervisorctl restart all 或 supervisorctl restart baoai

查看状态
supervisorctl status

停止应用
supervisorctl stop all 或 supervisorctl stop baoai

8.关闭所有python应用

./kill_python.sh
开发环境 之四 Python 中的 pip 安装 及 使用详解 pip 是 Python 的包安装程序。其实,pip 就是 Python 标准库(The Python Standard Library)中的一个包,只是这个包比较特殊,用它可以来管理 Python 标准库(The Python Standard Library)中其他的包。pip 支持从 [PyPI](https://pypi.org/ ),版本控制,本地项目以及直接从分发文件进行安装。pip 是一个命令行程序。 安装 pip 后,会向系统添加一个 pip 命令,该命令可以从命令提示符运行。 阅读详情

相关推荐

LSTM cell结构的理解和计算

LSTM是传统RNN网络的扩展,其核心结构是其cell单元,网上LSTM的相关资料繁多,质量参差不齐,下面主要结合LSTM神经网络的详细推导和 Christopher Olah的blog两篇文章中的内容进行说明。主要介绍网络如何计算,为何这么算先不展开:)。前者一副图加上29个公式,简洁明了;后者娓娓道来,适合初学者。首先是LSTM cell最常见的结构图: 这是变形的版本(找不到更清晰的版本了),

songhk0209的博客 2万+

小宝人工智能和量化平台BaoAI开源了,Apache2.0 免费开源

小宝人工智能和量化平台是简洁、直观、强大的前端和后端SPA开发框架,支持国际化,以模块为基础,让WEB应用、人工智能和量化系统开发更迅速、更简单。平台包含多个模块,主要包括基于角色的权限管理基础平台(用户、角色、权限、日志、附件、配置参数、分类管理)、通知模块、自动代码产生模块、任务系统模块、内容管理系统模块、网站模块、电子手册模块、人工智能模块、图像识别模块,人脸识别模块,金融数据采集模块,大数...

878

从翼型到湍流:用生活化案例图解空气动力学核心概念(中英双语版)

本文通过飞机机翼、F1赛车、高尔夫球等生活化案例,图解空气动力学核心概念。深入浅出地解释了攻角如何产生升力、边界层与流动分离如何影响阻力、马赫数如何划分速度世界,以及涡流与湍流的特性与应用。文章还介绍了计算流体动力学(CFD)这一现代数字风洞工具,帮助读者直观理解这些塑造现代交通与运动设计的无形之力。

metaverse5vr的博客 483

BaoAI 安装步骤

BaoAI 安装步骤项目前端 BaoAIFront 安装步骤项目后端 BaoAIBack 安装步骤项目后端数据库项目代码自动产生模块 项目前端 BaoAIFront 安装步骤 需要安装 Node.js # 安装 bower: npm install -g bower # 安装 gulp npm install -g gulp # npm 安装第三方js bower instal...

416

CentOS7下OpenVPN Access Server 2.12.0安装与智能分流配置指南

本文详细介绍了在CentOS7系统上安装OpenVPN Access Server 2.12.0并进行智能分流配置的完整指南。从环境准备、核心安装到智能分流策略的深度配置,提供了经过验证的优化方案和故障排查技巧,帮助用户实现高效的VPN网关部署和流量管理。

weixin_30546189的博客 297

告别夜间噪点!用瑞芯微RV1126B的AI-ISP,手把手教你打造0.01Lux超低光摄像头

本文详细介绍了如何利用瑞芯微RV1126B芯片的AI-ISP技术,打造0.01Lux超低光摄像头,解决夜间噪点问题。通过AI算法与图像信号处理的深度融合,RV1126B的3TOPS边缘算力实现了像素级AI降噪和语义感知增强,显著提升低光环境下的图像质量。文章包含硬件选型、软件配置和实战调优指南,助力开发者在AIoT领域实现高性能视觉应用。

weixin_33725722的博客 568

BaoAI 功能特点

功能特点: 超10万行代码 平台包含多个模块,并且模块数量仍不断的增加中。可用于各行业的前端和后端系统软件开发,已包含有CMS、人工智能、图像识别、人脸识别、大数据和量化投资领域等常用模块供开发人员直接使用。 平台模块化,易于开发扩展 BaiAI平台设计思路是将大型企业应用项目分解成很多小模块,每个模块分为前端模块和后端模块,前端模块使用后端模块提供的API服务。前后模块由脚本语言构成,无需编...

554

【Matlab】如何使用Simulink进行电池建模和SOC预估

“通过Simulink电池建模进行SOC预估,其实挺容易!” 1 声明 本文只描述一般性电池建模方法,文中出现的电池相关数据来自一些论文或者外文文献,对数据的真实性不做任何保证。 本文参考了不少国内高校的硕士论文和外文文献,所以本篇文章只作为学术性交流,未经...

wanff1204的博客 2万+

BaoAI 框架选型

前端和后端框架选型,深思熟虑 前端和后端实现目的:建立一个简洁、直观、强大和易于掌握的前端和后端SPA开发框架,支持国际化,以模块为基础,让WEB应用、人工智能、大数据和量化系统开发更迅速、更简单。实现大型企业项目的模块化开发,快速部署,无需编译,快速运行。 前端选型: 开发框架选型上,基于当前热门的AngularJS、Angular、VueJS、ReactJS中选择, Angular功能...

538

Python爬虫:抓取外卖平台餐厅菜单、价格与评价数据

美团外卖:国内领先的外卖平台之一,提供餐饮外卖、超市配送等服务。饿了么:另一大主流外卖平台,覆盖广泛的餐饮品类。等:国际性的外卖平台。在本文中,我们将以美团外卖为例,展示如何抓取餐厅的菜单、价格和评价等数据。我们会使用Python的爬虫库,如Scrapy和Selenium,来解决抓取任务。本文详细介绍了如何使用Python爬虫抓取外卖平台上的餐厅菜单、价格、评价等信息。我们展示了如何使用Scrapy和Selenium抓取静态与动态网页数据,如何清洗和存储数据,并讨论了如何应对外卖平台的反爬虫机制。

2201_76125261的博客 1506

2026年全国青少年信息素养大赛复赛真题(算法应用主题赛C++小学组:带解析)(7月4日试卷一)【文末附答案和解析】

2026年全国青少年信息素养大赛复赛真题(算法应用主题赛C++小学组:带解析)(7月4日试卷一)【文末附答案和解析】

王老师青少年编程 1761

BaoAI 开发工具

BaoAI前后端开发工具都采用VisualStudioCode 安装插件: `Chinese(Simplified)LanguagePackforVisualStudioCode` :中文语言包 `jshint` :js语法检验 `Python` : 语法检查,调试(包含远程调试),智能感知, Jupyter Notebooks,代码格式化,代码重构,单...

360

【漏洞复现】永恒之蓝 MS17-010 远程溢出漏洞(CVE-2017-0143)

文章目录声明前言一、漏洞原理简述二、漏洞代码深层解析三、实验步骤四、漏洞补丁总结 声明 本篇文章仅用于技术研究与技术学习,切勿用于非授权下攻击行为,切记! 前言 Windows7 存在 MS17-010 永恒之蓝(远程溢出漏洞) ,该漏洞是方程式组织在其漏洞利用框架中一个针对SMB服务进行攻击的漏洞,该漏洞导致攻击者在目标系统上可以执行任意代码 一、漏洞原理简述 MS17-010漏洞出现在Windows SMB v1中的内核态函数 srv!SrvOs2FeaListToNt 在处理FEA(File Ex

李同學AI安全 9632

HTML5 - 1.课程内容

HTML5课程内容HTML课程内容课程学习路径课程源码项目浸入式教学交流讨论 HTML课程内容 前置课程:软件开发基础 推荐课程:BaoAI 课程 项目 学习内容 达到目标 软件开发基础 创建新项目,使用Git远程和本地管理源代码,编写项目说明文档 Visual Studio Code Git Markdown 使用Code开发和创建项目、Git管理项目源代码、Markdo...

356

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

Statistics and Machine Learning Toolbox

Statistics and Machine Learning Toolbox(带书签),MATLAB统计学习工具

你刚吃的兰州牛肉面_背后就藏着大数据

兰州拉面都拥抱大数据了,此刻我只想问,黄焖鸡、麻辣烫和沙县小吃,你们还在等什么?

Gamay的博客 1975

汉书HE8,好用的汇编代码编写工具

汉书HE8,好用的汇编代码编写工具早期编写汇编代码所用功能强大

你刚吃的兰州牛肉面,背后就藏着大数据

3年前,计算机博士邓毓博辞去高校教职,创业做起“互联网+牛肉面”的生意——生产标准化的速食牛肉面,放上淘宝售卖。他的品牌“牛大坊”,刚开张第一年就卖出了20多万份面,但他并不满足于此。 邓毓博的终极理想,是用“云供应链”整合牛肉面产业的各个环节,革新线下店铺的经营模式,让兰州牛肉面与麦当劳、肯德基一样,标准化。2016年下半年,邓毓博带着这个想法找到好友...

weixin_34293059的博客 423

蓝牙模块HM-10手册

蓝牙模块HM-10手册,该手册对蓝牙模块HM-10进行了详细的介绍和使用方法以及一些AT指令。

HTML 零基础入门到企业实战全套教程【连载 8.4】HTML5 新增表单属性与表单控件

HTML 零基础入门到企业实战全套教程【连载 8.4】HTML5 新增表单属性与表单控件详细教程。

wuzuhuzhanlang的专栏 475

HTML 零基础入门到企业实战【第八章 8.6】HTML5 本地存储、拖拽 API、视频音频新特性

HTML 零基础入门到企业实战【第八章 8.6】HTML5 本地存储、拖拽 API、视频音频新特性。

wuzuhuzhanlang的专栏 605

零信任架构实战:基于天远租凭分期报告构建自动化数码租赁免押授信网关

破解高端数码免押租赁风控痛点:从传统押金防线到多维资信报告全维数据穿透 在专业影视拍摄器材(如全画幅微单、电影级变焦镜头、专业航拍无人机)以及高端 3C 消费电子(如旗舰折叠屏手机、高性能移动工作站)的先享后付、信用免押分期租赁业务中,对申请承租人的多维信用资信展开严密前置审查与动态免押额度测算,是租赁平台防范潜在履约风险、保障高价值硬件资产安全并实现精细化

2501_94041864的博客 210

Memory Over Maps 论文讲解系列四:视觉记忆提取器SigLIP2

本文基于SigLIP2视觉模型,通过特征提取与FAISS向量索引实现机器人对历史关键帧的高效语义检索。作者设计统一接口的BaseFeatureExtractor基类,结合注册机制支持多模型扩展;具体实现中,SigLIP2FeatureExtractor将图像转为语义向量,经归一化后存入FAISS,支持快速相似度匹配。最终,系统可依据目标物体描述,从视觉记忆库中检索出最相关的Top-K关键帧,完成从“存储”到“按需检索”的关键跃迁。

snowful_world的博客 377

Python笔记(二十)--Flask(三)

 这一节了解一下Flask进阶其他的知识,主要涉及配置,上下文,文件上传下载等,这些是项目中常使用...

ljt2724960661的博客 226

[项目]-从一个简单的例子体验模型训练,标注,部署,验证

可以。我给你做一个Ubuntu 下可以直接运行的轻量级 AI 图像识别 Demo。这个 Demo 不需要摄像头、不需要自己写神经网络,也不需要 GPU。先用 CPU 就能运行。我们采用 Python + PyTorch + YOLO11n。YOLO11n 是轻量级目标检测模型,已经预训练好了,可以直接识别人、汽车等物体。我们先把基础 Demo 跑起来。

jjjxxxhhh123的博客 282

beaTunes 6.0.3 完整中文化实践:界面 + 帮助本地化、一个可回退的离线包,外加一次不靠调内存的卡顿优化

本文基于beaTunes 6.0.3,通过修改资源包与覆盖帮助目录,实现界面1646/1674键、帮助27页全中文(界面约98%、帮助100%),仅剩搜索索引因技术限制未汉化。不修改class文件,避免风险。通过PowerShell脚本安全注入语言包、覆盖HTML内容,并保留完整备份与回退机制。实测表明,软件卡顿非内存不足,无需调整-Xmx,关键在于正确配置JVM参数。强调操作需在正版授权下进行,禁止分发修改版,确保安全可控。

wdhuag的博客 250

Spring Boot + LangChain4j 实战多模态:上传截图、流式输出、单 Jar 部署全流程

本文介绍一个纯Java实现的截图转文字Demo,基于JDK21 + Spring Boot 3.5.16 + LangChain4j 1.20.2 + Vue3,支持灵活传参、流式输出与Markdown自动折叠。无需Python或GPU,仅通过云端多模态接口即可完成图像理解与文本生成。重点解决接口变更、流式调用、图片压缩、并发限流等实战坑点,强调Java在多模态场景下的可行性与工程优势。源码已开源,一键运行即可体验。

sch7979的博客 661
上一篇: BaoAI 安装步骤
下一篇: VirtualBox 安装 Centos7
idsof
博客等级 码龄21年 9粉丝 34原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址