makkimaki / nishika-image-search-work

0 stars 0 forks source link

04_tutorial_ann.py 実行時のエラー #1

Open makkimaki opened 2 years ago

makkimaki commented 2 years ago

04_tutorial_ann.py実行時のエラー

$ python 04_tutorial_ann.py 
Your CPU supports instructions that this binary was not compiled to use: SSE3 SSE4.1 SSE4.2 AVX AVX2
For maximum performance, you can install NMSLIB from sources 
pip install --no-binary :all: nmslib
create index starts

0%   10   20   30   40   50   60   70   80   90   100%
|----|----|----|----|----|----|----|----|----|----|
***************************************************

0%   10   20   30   40   50   60   70   80   90   100%
|----|----|----|----|----|----|----|----|----|----|
****************************************************create index takes 1388.8236498832703 sec
Traceback (most recent call last):
  File "/work/tutorial/scripts/04_tutorial_ann.py", line 62, in <module>
    index.saveIndex(f'../models/index.ann')
RuntimeError: basic_ios::clear: iostream error
makkimaki commented 2 years ago

$ lscpu

アーキテクチャ:                      x86_64
CPU 操作モード:                      32-bit, 64-bit
バイト順序:                          Little Endian
CPU:                                 8
オンラインになっている CPU のリスト: 0-7
コアあたりのスレッド数:              2
ソケットあたりのコア数:              4
ソケット数:                          1
NUMA ノード数:                       1
ベンダー ID:                         GenuineIntel
CPU ファミリー:                      6
モデル:                              63
モデル名:                            Intel(R) Xeon(R) CPU @ 2.30GHz
ステッピング:                        0
CPU MHz:                             2299.998
BogoMIPS:                            4599.99
ハイパーバイザのベンダー:            KVM
仮想化タイプ:                        完全仮想化
L1d キャッシュ:                      32K
L1i キャッシュ:                      32K
L2 キャッシュ:                       256K
L3 キャッシュ:                       46080K
NUMA ノード 0 CPU:                   0-7
フラグ:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm invpcid_single pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt arat md_clear arch_capabilities