bitsun / faiss-windows

This is outdated,please refer to https://github.com/bitsun/faiss for windows build
Other
32 stars 8 forks source link

something wrong with read_index function! #1

Open zengjiechuan opened 5 years ago

zengjiechuan commented 5 years ago

Summary

Platform

OS:

Faiss version:

Faiss compilation options:

Running on :

Reproduction instructions

An error occures when I use the read_index function to load the saved index, the program just can't go through!
bitsun commented 5 years ago

please be more specific on how we can reproduce this bug. e.g. Which index type were you reading. It is better if you can provide the source code. Note that this is a tailored window port for my own project usage. It does not support all the index types. So far only Linear Index, IFV,IVF_Flat,IVF_PQ index are supported in this windows port

zengjiechuan commented 5 years ago

The code was running in win7 Visual Studio 2015. The write_index function work. I tried to read several types of index include IndexFlat, IndexIVFFlat, IndexIVFPQ and failed. It seemed the problem occured in the line 776 of index_io.cpp when execeute "READVECTOR (idxf->xb)", I 'm not sure.

bitsun commented 5 years ago

What data did you use there for your index io test. Is it random generated float vectors or some project specific data? And what do you mean by saying it did not go through? the program just hung there and ran forever, or it just crashed ?

zengjiechuan commented 5 years ago

The data is just some normal number that I saved in .txt files. I said "the program just can't go through" means that it just hung there >_<!!
BTW, tell you a good news bitsun. I succeed in transplanting the newest faiss to windows(just cpu version) by following your code, and I can use the read_index function now. Could you please tell me your email?Maybe we can communicate later. Thx

irexyc commented 4 years ago

@zengjiechuan Hi jiechuan, Could you please share the new version you build ?

zengjiechuan commented 4 years ago

@zengjiechuan Hi jiechuan, Could you please share the new version you build ?

Hi, irexyc I have to find it for a while. What's more, I only build the version of windows x86. Maybe u could leave your email so I can send it to you.

irexyc commented 4 years ago

@zengjiechuan Hi jiechuan, Could you please share the new version you build ?

Hi, irexyc I have to find it for a while. What's more, I only build the version of windows x86. Maybe u could leave your email so I can send it to you.

Thank you, my email is chenxin13@tju.edu.cn.

keeprunningcelin commented 4 years ago

@zengjiechuan Hi jiechuan, Could you please share the new version you build ? my email is celin1992@163.com,Thank you.

bitsun commented 4 years ago

I am glad to inform you that i have ported the latest faiss to windows, and it is now available here https://github.com/bitsun/faiss

liulangdeyeshou commented 3 years ago

@zengjiechuan 您好jiechuan, 能否请您分享您构建的新版本?

嗨,irexyc 我必须找到它一段时间。而且,我只构建Windows x86的版本。也许您可以留下您的电子邮件,以便我将其发送给您。

@zengjiechuan Hi jiechuan, Could you please share the new version you build ?

Hi, irexyc I have to find it for a while. What's more, I only build the version of windows x86. Maybe u could leave your email so I can send it to you.

Is there an win32 CPU version available?Thank you very much. My email is 1961883426@qq.com