ltzheng / Synapse

[ICLR 2024] Trajectory-as-Exemplar Prompting with Memory for Computer Control
https://ltzheng.github.io/Synapse/
MIT License
48 stars 9 forks source link

Installation issue #1

Closed andyz245 closed 1 year ago

andyz245 commented 1 year ago

Hi, Thanks for the contribution! I tried running your repo but ran into this error after installing the packages.

RuntimeError: Error in faiss::FileIOReader::FileIOReader(const char*) at /project/faiss/faiss/impl/io.cpp:67: Error: 'f' failed: could not open exemplar_lib/index.faiss for reading: No such file or directory

ltzheng commented 1 year ago

It is necessary to add the "--init_db" argument to initialize the exemplar database for the first run.