/ bin/sh: extract_descriptors_cli: 找不到命令

0 投票
1 回答
1126 浏览
提问于 2025-04-18 05:40

我在这个网站上运行Local Naive Bayer最近邻的源代码:

https://github.com/sanchom/sjm

我通过运行以下代码提取了Caltech 101数据集的SIFT描述符:

python extract_caltech.py --dataset_path /users/phongnguyen/desktop/101_ObjectCategories --process_limit 3 --sift_normalization_threshold 2.0 --sift_discard_unnormalized --sift_grid_type FIXED_3X3 --sift_first_level_smoothing 0.66 --sift_fast --sift_multiscale  --features_directory /users/phongnguyen/desktop/feature

按照网站上的建议,

我遇到了这个错误:

/bin/sh: extract_descriptors_cli: command not found 

而且它显示了成千上万行相同的内容。

这个错误是怎么回事,我是不是缺少了什么二进制文件?

1 个回答

0

你可能跳过了README.md文件中BUILDING部分的一个或多个步骤,特别是

你需要先运行 scons 来编译程序,然后再运行 "scons install BIN_PREFIX=[directory]" 将它们安装到 [directory] 这个文件夹里。

撰写回答