alickzhu / PLAYER

49 stars 1 forks source link

self.open_discuss_rounds = para["open_discuss_rounds"] # open talk rounds KeyError: 'open_discuss_rounds' #1

Open ssy040504 opened 2 days ago

ssy040504 commented 2 days ago

Python main.py --script_name "孤舟萤(6人)" --output_root_path "./log_cn" 执行这个有各种问题....

ssy040504 commented 2 days ago

(venv) PS G:\PLAYER> Python main.py --script_name "孤舟萤(6人)" --output_root_path "./log_cn" --model_type "gpt4" --is_english "0" Traceback (most recent call last): File "G:\PLAYER\main.py", line 812, in main() File "G:\PLAYER\main.py", line 721, in main game = Game(scriptmanager, args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "G:\PLAYER\main.py", line 160, in init self.initial_game() # initial game ^^^^^^^^^^^^^^^^^^^ File "G:\PLAYER\main.py", line 173, in initial_game self.update_script(0) # initial agent script(get act 0 script) ^^^^^^^^^^^^^^^^^^^^^ File "G:\PLAYER\main.py", line 237, in update_script self.agents[i].database.save_faiss(file_name_faiss) File "G:\PLAYER\utils\RAG.py", line 25, in save_faiss faiss.write_index(self.index, path) File "G:\PLAYER\venv\Lib\site-packages\faiss\swigfaiss_avx2.py", line 10403, in write_index return _swigfaiss_avx2.write_index(args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: Error in __cdecl faiss::FileIOWriter::FileIOWriter(const char ) at D:\a\faiss-wheels\faiss-wheels\faiss\faiss\impl\io.cpp:98: Error: 'f' failed: could not open ./database\孤舟萤(6人)\0_act_0.faiss for writing: N o such file or directory