精华内容
参与话题
问答
  • Features

    2011-07-08 12:06:17
    Features Features相当于网站的一个插件,甚至可以把网站定制成许多插件的组合。在c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\template\features路径下
    Features
     
     
    Features相当于网站的一个插件,甚至可以把网站定制成许多插件的组合。在c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\template\features路径下,能够找到系统所有的features,每个feature都对应一个目录,每个目录下都包含一个feature.xml的文件。
    Features的使用范围可以使场、Web应用程序、网站集、网站。
    打开“网站操作”→“网站设置” →“修改所有网站设置”,在网站设置的页面中,单击“网站集功能”命令,能够看到有很多系统内置的功能
     
     
     
    某些Feature必须要激活,否则,网站的很多功能用不了。如Office SharePoint Server标准版网站集功能、Office SharePoint Server发布基础架构、Office SharePoint Server企业版网站集功能这三个feature是必须激活的
     
     
    Feature架构    
      使用VS2008创建一个类库, 创建feature.xml
    <Feature
     ActivateOnDefault="True"|"FALSE"
     AlwaysForceInstall="TRUE"|"FALSE"
     AutoActivateInCentralAdmin="TRUE"|"FALSE"
     Creator="Text"
     DefaultResourceFile="Text"
     Description="Text"
     Hidden="TRUE"|"FALSE"
     ID="Text"
     ImageUrl="Text"
     ImageUrlAltText="Text"
     ReceiverAssembly="Text"
     RequireResources="TRUE"|"FALSE"
     Scope="Text"
     SolutionId="Text"
     Title="Text"
     Version="Text">
    </Feature>
     
     
     
     
    v其他属性可以参考WSS3.0SDK
     
    在Feature.xml文件中,Feature元素定义了其本身,并指定了相关的程序集、文件、依赖等,或者支持该feature的一些属性。Feature.xml文件的结构如下:
    Feature
    ActivationDependencies
          ActivationDependency
     ElementManifests
            ElementFile
            ElementManifest
     Properties
             Property
     
     子元素ElementManifests包含一些文件,主要是Feature的元素清单和定义文件。ElementManifests子元素指定一个包含ElementManifest元素和ElementFile元素。
    <ElementManifest Location=“Text”></ElementManifest>
    Location属性:指定一个包含Feature元素定义的文件相对路径,如
    <ElementManifest Location=“elements.xml”/>
     
     
    添加自定义菜单
     
    在网站操作按钮的下拉菜单中增加一个自定义菜单,当用户单击后,出现自定义界面,这个功能可以使用Feature来完成
    1.feature.xml文件
    <Feature Id="AA929AFF-4602-4d7f-A501-B80AC9A4BB52"
       Title="这是我利用feature增加的site级别的菜单"
       Description="这是我利用feature增加的site级别的菜单"
       Scope="Site"
       xmlns="http://schemas.microsoft.com/sharepoint/">
     <ElementManifests>
      <ElementManifest Location="elements.xml"/>   
     </ElementManifests>
    </Feature>
     
    2.elements.xml
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
     <CustomAction
          Id="mypage"
        GroupId="SiteActions"
        Location="Microsoft.SharePoint.StandardMenu"
        Sequence="200"
        Title="我的日常工作"
        Description="Getting up and going with inline code">
      <UrlAction Url="~/site/pages/request.aspx"/>
     </CustomAction>
    </Elements>
     

    3.Features的部署
    使用命令行工具stsadm,编写一个批处理文件,执行即可。
    echo Copying the feature...
    echo.
    rd /s /q "%CommonProgramFiles%\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\custaction"
    mkdir "%CommonProgramFiles%\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\custaction"

    copy /Y feature.xml  "%CommonProgramFiles%\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\custaction\"
    copy /Y elements.xml  "%CommonProgramFiles%\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\custaction\"
    echo.
    echo Activating the feature...
    echo.
    pushd %programfiles%\common files\microsoft shared\web server extensions\12\bin
    stsadm -o deactivatefeature -filename custaction\feature.xml -url http://mei:9000/
    stsadm -o uninstallfeature -filename custaction\feature.xml -force

    stsadm -o installfeature -filename custaction\feature.xml -force
    stsadm -o activatefeature -filename custaction\feature.xml -url http://mei:9000/
    pushd

     
     
    v安装后,打开网站操作->网站设置->修改所有网站设置->网站集,可以看到
     
     
     

    展开全文
  • bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library? 几经周折才知道是bs4调用了python自带的html解析器,我用的mac,默认安装的...

    Python小白,学习时候用到bs4解析网站,报错

    bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?

    几经周折才知道是bs4调用了python自带的html解析器,我用的mac,默认安装的是python2,所以内置的解释器也是捆绑在python2上,而我学习的时候又自己安装了python3,开发环境也是python3的,貌似是没有html解释器,所以会报错。
    问题找到了,那么怎么解决呢?对,在python3也装一个html解析器就好了,那么怎么安装呢?查阅资料获悉:一般pip和pip2对应的是python2.x,pip3对应的是python3.x的版本,python2和python3的模块是独立的,不能混用,混用会出问题。所以命令行通过python3的pip:pip3 安装解析器:

    $ pip3 install lxml

    3.8M,稍等片刻即可
    再次运行项目,完美解决,特此记录

    说的直白点就是你的开发环境下下载的包里不存在你需要的lxml,比如说你用的是py2,但是把包装到了py3的包路径下,当然就找不到了,反之亦然。那么就检查一下当前的开发环境是用的Python版本和对应的Python版本下的Packages目录下有没有你需要的包,如果没有就安装一个。就是这么简单。

    $ pip3(如果是py2就用pip) show lxml

    如果已经安装了就会显示包的位置及信息,没有则会报错,执行上一步安装操作即可

    展开全文
  • ImageFeatures

    2018-10-11 22:41:55
    struct CV_EXPORTS ImageFeatures { int img_idx; Size img_size; std::vector keypoints; Mat descriptors; };

    struct CV_EXPORTS ImageFeatures
    {
    int img_idx;
    Size img_size;
    std::vector keypoints;
    Mat descriptors;
    };

    展开全文
  • SLAM Features detection/Description

    万次阅读 2019-12-14 12:37:28
    Features Features detection/Description From handcrafted to deep local features. G. Csurka, C. R. Dance, M. Humenberger. 2018. Project Detection Description AKAZE x MSURF/MLDB DART x x KAZ...

    Features

    Features detection/Description

    From handcrafted to deep local features. G. Csurka, C. R. Dance, M. Humenberger. 2018.

    Project Detection Description
    AKAZE x MSURF/MLDB
    DART x x
    KAZE x MSURF/MLDB
    LIOP/MIOP x
    LIFT (machine learning) x x
    MROGH x
    SIFT x x
    SURF x x
    SFOP x
    展开全文
  • Extracting Features

    2017-01-09 17:33:16
    Extracting Features In this tutorial, we will extract features using a pre-trained model with the included C++ utility. Note that we recommend using the Python interface for this task, as for examp
  • Features Track

    2018-09-14 12:33:46
    Morgana is learning computer vision, and he likes cats, too. One day he wants to find the cat movement from a cat ... To do this, he extracts cat features in each frame. A cat feature is a two-dime...
  • 编译一个项目报错如下: CMake Error at Rx/v2/test/CMakeLists.txt:125 (target... target_compile_features no known features for CXX compiler "" version . 经过调查,可能是由于target_compile_features ...
  • Features/Snapshots

    千次阅读 2015-09-30 11:03:59
    http://wiki.qemu.org/Features/Snapshots ...Features/Snapshots Contents  [hide] 1 Live Snapshots 1.1 Overall concept1.2 Guest Agent1.3 Snapshot command flow1.4 HMP c
  • Tensorfow里的Features(tf.train.Features

    千次阅读 2019-03-01 13:47:32
    Features是用于描述机器学习模型训练或推理的特征的协议消息,用键值对表示数据。 Feature有三种形式: - bytes - float - int64 一个Features中包括可能包含零个或多个值的列表。 这些列表是基本值BytesList,...
  • Spring Boot features

    2019-04-17 21:41:34
    https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-spring-application.html 此篇文章主要介绍了SpringBoot的主要功能: 1.通常通过SpringApplication.run方法启动; 2.SpringBoot有...
  • Haralick texture features

    千次阅读 2018-04-01 10:18:05
    Haralick texture featuresHaralick's texture features [28] were calculated using the kharalick() function of the cytometry tool box [29] for Khoros (version 2.1 Pro, Khoral Research, Inc., ...
  • GBDT对max_features调参时 ‘max_features’:range(7,20,2) 会遇到: ValueError: max_features must be in (0, n_features] 是因为: If float, then max_features is a percentage and int(max_features * n_...
  • Android NDK CPU Features detection library: ----------------------------------------------------------- NDK 提供了一个很小的库叫着“cpufeatures”,可用于运行时检测目标设备的CPU类型和它...
  • cpufeatures

    2012-05-26 19:46:17
    the source is in /media/LENOVO/src1/1/android-20120108-2.2.2_r1/ndk/sources/cpufeatures. http://blog.csdn.net/abnerchai/article/details/6830644
  • matlab中extractFeatures函数的用法

    千次阅读 2020-02-09 22:00:40
    matlab中extractFeatures函数的用法公式描述输入参数输出参数 公式 [features,validPoints] = extractFeatures(I,points) [features,validPoints] = extractFeatures(I,points,Name,Value) 描述 [features,...
  • PolynomialFeatures多项式转换

    千次阅读 2018-12-05 22:36:55
    使用sklearn.preprocessing.PolynomialFeatures来进行特征的构造。 它是使用多项式的方法来进行的,如果有a,b两个特征,那么它的2次多项式为(1,a,b,a^2,ab, b^2)。 PolynomialFeatures有三个参数 degree:控制...
  • Bag of features

    2016-07-06 10:14:47
    Bag of features http://blog.csdn.net/royalvane/article/details/6649068 http://baike.sogou.com/v73026138.htm?fromTitle=tf-idf
  • torch.nn.Linear(in_features, out_features, bias=True)[source] Applies a linear transformation to the incoming data: Parameters in_features – size of each input sample out_features – size ...
  • sklearn preprocessing PolynomialFeatures 用法
  • in_features--每个输入样本的大小 out_features--每个输出样本的大小 bias--如果设置为False,则图层不会学习附件偏差,默认值:True import torch.nn as nn import torch m = nn.Linear(20, 30) input = torch....
  • 介绍python_speech_features模块 python_speech_features.mfcc() -梅尔频率倒谱系数 python_speech_features.fbank() -滤波器能量 python_speech_features.logfbank() -Log Filterbank能量 python_speech_features....
  • 之前的文章介绍了Numerical features,今天来介绍Categorical features。Categorical features 在我们的生活中也很常见,小到一年四季,一周七天,色彩颜色种类;大到用户id,CTR中的广告对象,这些都是属于...
  • #define HCI_READ_LOCAL_EXT_FEATURES (0x0004 | HCI_GRP_INFORMATIONAL_PARAMS) static BT_HDR *make_read_local_extended_features(uint8_t page_number) { uint8_t *stream; const uint8_t parameter_...
  • NDK CPU Features

    千次阅读 2013-04-02 13:11:11
    Android NDK CPU Features detection library: ------------------------------------------- This NDK provides a small library named "cpufeatures" that can be used at runtime to detect the target device's
  • This example shows how to do clustering on point features. 这个例子用来展示如何对点要素尽心聚合。 代码: Clustered Features cluster distance
  • Learning Deep Features for Discriminative Localization论文笔记以及Caffe实现论文笔记 | Learning Deep Features for Discriminative Localization论文笔记: Learning Deep Features for Discriminative ...
  • 发布karaf的features

    千次阅读 2014-08-02 15:34:30
    Karaf的features是其本身的一大亮点,通过features可以完成某个功能相关bundle的安装和卸载,极大的方便了对bundle的管理。 Karaf的最新版本是2.3.2,通过features:install 命令,安装的features都是在data目录下...

空空如也

1 2 3 4 5 ... 20
收藏数 157,609
精华内容 63,043
关键字:

features