MaggieQi
MaggieQi
Currently, we only support np.float32 type. np.random.uniform will generate np.float64 data. Try to use np.random.uniform(low=0.5, high=13.3, size=(n,)).astype(np.float32)
@SueSu-Wish from the log, it seems the index is not saved successfully.
I have tried your python code, and the index build can finish successfully. What is your runtime environment? 
@deepxuexi I also tried your python code on Windows server with VS 2015 using the newest version of code. It can also finish successfully. Maybe you can pull the newest...
@deepxuexi my environment is Windows 10 (also tried it on Windows server 2016) + VS2015 + cmake 3.12.3 + swig 3.0.12 + boost 1.67.0. Which version of SPTAG code do...
@AleksCallebat Before build, you should first install the following packages: swig >= 3.0 cmake >= 3.12.0 boost >= 1.67.0 If you installed the Boost 1.67.0 and cmake still could not...
This issue only appears in python3. After adding m = m.encode() before BuildWithMetaData and AddWithMetaData, this error will disappear...
It is a good suggestion! I will try to remove the ByteArray from the Wrapper part.
@pclin1212 It is fixed in the newest version of master.
We currently only support Int8, Int16 and Float (float32). Float64 is not supported. We will add support for more data types soon : )