matchyc / RoarGraph

VLDB 2024 paper repo. RoarGraph: A Projected Bipartite Graph for Efficient Cross-Modal Approximate Nearest Neighbor Search
MIT License
28 stars 7 forks source link

file existence check #5

Closed mqqqqj closed 2 months ago

mqqqqj commented 2 months ago

Check the file existence while loading the learn_base_nn_file.

matchyc commented 2 months ago

I think we should throw an exception rather than just return? try this throw std::runtime_error("Could not open xxx file");

matchyc commented 2 months ago

lgtm