简体   繁体   English

如何运行vowpal-wabbit utl脚本?

[英]How to run vowpal-wabbit utl scripts?

I have installed vowpal-wabbit on my mac using brew install vowpal-wabbit . 我已经使用brew install vowpal-wabbit在Mac上brew install vowpal-wabbit

The vw command works fine. vw命令工作正常。 I however want to use some of the scripts in the \\utl\\ folder of the library. 但是,我想使用\\utl\\ 文件夹中的某些脚本

Specifically I want to run vw_lda.py 具体来说,我想运行vw_lda.py

I tried copying this script to my machine and running it but I get the following error: 我尝试将此脚本复制到我的计算机上并运行它,但是出现以下错误:

reading dataset... ERROR: vw-doc2lda not found in the path

Turns out vw-doc2lda is another script in the utl folder which script cannot run. 原来vw-doc2ldavw-doc2lda文件夹中的另一个脚本,该脚本无法运行。 I tried copying vw-doc2lda also to my local machine and adding its path to $PATH . 我尝试将vw-doc2lda也复制到本地计算机,并将其路径添加到$PATH It still can't find the script. 它仍然找不到脚本。

How do I run the scripts in the utl folder? 如何运行utl文件夹中的脚本?

您可能需要更改许可权才能首先执行utl文件并将utl目录添加到path。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM