相关推荐
地理空间坐标系统-不同椭球基准间的坐标转换
基于同一个椭球基准,可以构建三类地理空间坐标系:大地球面坐标系、大地空间直角坐标系、大地投影坐标系。由于坐标原点和椭球长短半径等都相同,这三类坐标系之间可以通过无损的数学方法相互之间进行转换。那么现在问题来了,不同椭球基准(在全球范围来看存在成百上千的椭球基准)之间的坐标怎么转换?比如,北京54、西安80、国家2000,特别是在我国,现在主推国家2000坐标系,那么如何将历史的测绘成果(北京54和...
ubuntu安装中文输入法[转]
个人认为输入法还是安装Fcitx 的好下面就是安装过程:sudo apt-get install im-switch fcitx sudo im-switch -s fcitx -z defaultim-switch -s fcitx -z default #注意:不加sudo 完成设置最好重启一下X,输入法就生效了.如果发现软件界面字体是方块, ged
基于dify平台批量分析excel格式信息
如何以表格形式批量输入一些信息,然后让大模型以对话应用形式逐条进行推理分析?请逐行分析以下数据,给出推理结果:{{input}}这里提供一个分步解决方案,结合。
ubuntu在英文环境下使用汉字输入法
在ubuntu下,使用scim输入中文很方便,但在使用其他软件的时候经常出现假死现象。经过google之后,很多人都说scim与很多软件之间有冲突。为了解决这个问题,很多人建议使用fcitx或者ibus输入法,都是国人的产品,支持!下面简单说明一下ubuntu8.04下fcixt的安装过程。(由于ibus在8.04下的默认官方源·[非CN99]里没有提供)首先删除scim,命令行是:s
深入浅出:大型语言模型(LLM)的全面解读
在当今的数字化时代,人工智能技术已经成为各行各业的核心驱动力之一。而在人工智能的领域中,大型语言模型(LLM)作为一种引人瞩目的技术,正在以其强大的语言理解和生成能力引领着一场革命。本文旨在深入浅出地解读大型语言模型,探讨其背后的原理、技术突破、应用场景以及未来发展趋势。
芒果YOLO11改进17:即插即用 | 损失函数Repulsion Loss|Repulsion 解决目标遮挡场景下的目标检测,为解决密集人群检测中遮挡设计的损失函数,打造高效
即插即用 | 损失函数Repulsion Loss|Repulsion 解决目标遮挡场景下的目标检测,为解决密集人群检测中遮挡设计的损失函数,打造高效
ubuntu中的输入法scim的一个异常
转载时请注明出处和作者联系方式:http://blog.csdn.net/mimepp 作者联系方式:YU TAO 近来输入法scim老是有异常,打字打得好好的,突然就会变成英文的输入,搞得很麻烦,要按“ctrl+space”关闭输入法,再开才会好。apt重新装后,也是同样的问题。最后,只好将有关scim的内容完全delete才得到解决:1. sudo rm -rf /etc/scim2. sud
YOLOv8改进 | Neck篇 | Slim-Neck替换特征融合层实现超级涨点 (又轻量又超级涨点)
本文给大家带来的改进机制是Slim-neck提出的Neck部分,Slim-neck是一种设计用于优化卷积神经网络中neck部分的结构。在我们YOLOv8中,neck是连接主干网络(backbone)和头部网络(head)的部分,负责特征融合和处理,以便提高检测的准确性和效率。亲测在小目标检测和大尺度目标检测的数据集上都有大幅度的涨点效果(mAP直接涨了大概有0.4左右。同时本文对Slim-Neck的框架原理进行了详细的分析,不光让大家会添加到自己的模型在写论文的时候也能够有一定的参照。
英文Locale下安装Fcitx中文输入法
系统装好后首先要做的就是安装中文输入法。在网上找了一些中文输入法的资料,最常用的是Fcitx和SCIM输入法。不过好像SCIM的问题比较多,而且据说Fcitx的功能上也要比SCIM强得多,所以决定采用Fcitx输入法。 卸载SCIM 为了避免安装中出现一些问题,在这之前先要卸载掉系统自带的SCIM输入法 sudo apt-get remove --purge scim* // 删除SCIM及
30天入门 SAP BTP 开发系列之三:了解 SAP BTP Global Account 的概念
90天之后 Trial 账号会被删除,该账号在 SAP BTP 上创建的内容会被清空,不过我们可以再创建一个新的 Tria 账号。本文简单介绍了 SAP BTP 里 Global Account 的概念,下一篇文章我会介绍 SAP BTP 控制台里和 Global Account 相关的一些操作。,创建 SAP BTP 的 Trial,在可选 Region 列表里,在两个可选项中二选一,选择了。或订阅合同时,SAP BTP 会在后台为其生成一个对应的。在企业拥抱云原生架构的过程中,SAP BTP 的。
五万字解析【ROOT 入门指南】
本文是cern官方root入门指南的初步翻译版,还在进一步校对中....
Ubuntu 7.10 英文环境下使用SCIM的方法
这是用了Ubuntu 7.10之后才发现的方法,以前一直都是修改.bashrc的方法,我感觉现在的方法比较好,首先要让SCIM在英文的Locale下可以使用,我们编辑文件:/usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules把最后一行"/usr/lib/gtk-2.0/2.10.0/immodules/im-xim.so" "
OpenClaw与传统AI助手区别,为什么要本地部署
OpenClaw是一款本地部署的开源AI助手框架,与ChatGPT等云端服务相比具有显著优势。它支持完全离线运行,数据隐私性高,所有信息都存储在本地设备上,避免了云端服务的隐私风险。OpenClaw采用模块化设计,可自由定制功能,且无需支付订阅费用,只需一次性硬件投入。推荐在树莓派、迷你主机等设备上部署,最低配置仅需1核CPU和1GB内存。安装过程包含系统初始化、依赖安装、配置设置等步骤,支持通过systemd服务实现开机自启和后台运行。特别适合注重数据安全、需要离线使用或预算有限的用户群体。
Ubuntu 英文状态下,安装使用中文输入法
英文Locale下使用中文输入法出自Ubuntu中文注:目前输入法的wiki词条写的很不好,希望有能力的网友完善一下--Dbzhang800 2008年4月30日 (三) 11:14 (CST) 中文输入法的添加 中文输入法fcitx 中文输入法scim
深度学习工具包 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');```[](https://bitdeli.com/free "Bitdeli Badge")
假人有限元模型
假人模型,车辆碰撞假人有限元模型,适合做乘员安全的研究者利用
纯英文环境下安装ubuntu的Fcitx输入法的安装(但你得保证能上网)
转自 www.diybl.com ,包含了安装以及乱码问题的设置 ubuntu的Fcitx输入法的安装 - #sudo apt-get install im-switch fcitx #sudo im-switch -s fcitx -z default #im-switch -s fcitx -z default #注意:不加sudo 完成设置最好重启一下X,输...
最新的sdio 4.0 spec 协议标准 带书签 高清完整PDF版
Part-E1-SDIO-Specification-Ver4.00-Final-120220.pdf:最新的sdio 4.0 spec 协议标准 带书签 高清完整PDF版,包括SDIO 接口的外设,SDIO 接口官方协议等。
ubuntu下安装fcitx
http://hi.baidu.com/zhlg_hzh/blog/item/81588ad1c21be7d4562c8413.html 鉴于scim 虽然好用但频繁冲突并且资源占用高,于是下决心改用fcitx。 安装: sudo apt-get install fcitx现在装是装上了,但是还有一些小问题要修改才能在im-switch 上正常使用 1,查看/etc/X11/xin
ubuntu 英文环境下安装SCIM
前提是安装好中文语言包 1. 修改/etc/environment: sudo gedit /etc/environment 把LANG=en_US改为LANG=en_US.UTF-8或者LANG=zh_CN.UTF-8 再加入:LC_CTYPE=zh_CN.UTF-8 2. SCIM在英文的Locale下可以使用,我们编辑文件: /usr/lib/gtk-2.0/2.10.0/im...
怎样在英文环境下使用中文输入法
很多人喜欢在英文环境下工作,在 Ubuntu 的英文环境下怎样调用中文输入法呢?下面介绍两种主流输入法的调用方法,前提是已经安装好了,并在其他语言环境下能正常使用。 1、如果使用 SCIM 输入法,很简单,直接在终端里执行下面一句即可 (via ): sudo im-switch -z en_US -s scim 如果出现Cannot find alternative `/e tc/X11/xi...
Ubuntu 英文系统设置中文输入法
<br />前提是安装好中文语言包<br /><br /> 1. 修改/etc/environment: sudo gedit /etc/environment<br /> 把LANG=en_US改为LANG=en_US.UTF-8或者LANG=zh_CN.UTF-8<br /> 再加入:LC_CTYPE=zh_CN.UTF-8<br /><br /><br /> 2. SCIM在英文的Locale下可以使用,我们编辑文件:<br /> /usr/lib/gtk-2.0/2.10.0/im
ubuntu安装中文输入法
个人认为输入法还是安装Fcitx 的好下面就是安装过程: sudo apt-get install im-switch fcitx sudo im-switch -s fcitx -z default im-switch -s fcitx -z default #注意:不加sudo 完成设置最好重启一下X,输入法就生效了.如果发现软件界面字体是方块, gedit ~/.fcitx/config 或...
在 Ubuntu 英文环境(locale)下安装 fcitx 输入法 (ZT)
http://home.pcbeta.com/space.php?uid=169664&do=thread&id=30在 Ubuntu 英文环境(locale)下安装 fcitx 输入法 yexiao...
Ubuntu 20.04中文输入法安装与配置全攻略
在Linux系统中配置中文输入法是开发者常见的需求,特别是在Ubuntu这样的主流发行版上。输入法框架作为连接键盘输入与文字显示的关键组件,其工作原理涉及输入法引擎、用户界面和系统集成三个层面。Fcitx作为轻量级开源框架,凭借模块化设计和多语言支持成为Linux平台的首选方案。通过安装Fcitx核心组件并配置中文输入法(如搜狗拼音或开源替代方案),开发者可以在Ubuntu 20.04上实现高效的中文输入体验。该方案不仅解决了候选框显示、输入法切换等常见问题,还能通过云输入和词库管理优化输入效率,适用于GN
ubuntu的Fcitx输入法的安装
ubuntu的Fcitx输入法的安装-转 转自:http://blog.sina.com.cn/s/blog_6589027f0100iey7.html #sudo apt-get install im-switch fcitx im-switch -s fcitx -z default 完成设置最好重启一下X,输入法就生效了 重启X比较简单的方法是 第一种重启X的方式很简单,重启
ubuntu安装中文输入法fcitx
安装Fcitx sudo apt-get install im-switch fcitx sudo im-switch -s fcitx -z default im-switch -s fcitx -z default#修改当前用户的默认输入法, 具体看man im-switch 完成设置最好重启一下X,输入法就生效了. 如果发现软件界面字体是方块, gedit ~/.fcitx...
英文Locale下使用中文输入法
如果你在英文locale下,正确安装scim或fcitx后仍无法正常使用输入法,解决的方法如下:1:sudo aptitude install im-switch如果你用scim,运行 sudo im-switch -s scim -z all_ALLim-switch -s scim -z all_ALL如果你用fcitx,运行 sudo im-switch -s fci
Ubuntu 20.04中文输入法安装与配置指南
中文输入法是Linux系统本地化使用的重要组件,其实现原理基于输入法框架(如IBus/Fcitx)与语言包的协同工作。在Ubuntu 20.04等Linux发行版中,通过安装中文语言包和配置输入法框架,开发者可以获得流畅的中文输入体验,这对处理中文文档、开发本地化应用至关重要。以Fcitx框架为例,它支持多种输入法引擎并兼容搜狗拼音等商业输入法,通过环境变量配置和自动启动设置,可完美集成到GNOME等桌面环境。针对WSL和服务器等特殊环境,也有相应的中文输入解决方案。掌握这些配置技巧能显著提升中文开发效率。
8339




被折叠的 条评论
为什么被折叠?



