Closed Lzqbalabala closed 7 months ago
@Lzqbalabala, In the code file, re_chatgpt.py, line 584, you need to change openai-key -> openai_key, it would then work. also in the requirements.txt file, you need to make one change skimage -> scikit-image. and then you will have to download weights individually, create a checkpoints folder in your working directory, and upload the weights. Now good to go...
root@autodl-container-7e0c4db22a-9f3ec4ab:~/RSGPT# python interface.py usage: interface.py [-h] [--load LOAD] openai-key interface.py: error: the following arguments are required: openai-key root@autodl-container-7e0c4db22a-9f3ec4ab:~/RSGPT# python rs_chatgpt.py usage: rs_chatgpt.py [-h] [--image-dir IMAGE_DIR] [--gpt_name {gpt-3.5-turbo,gpt-4}] [--load LOAD] openai-key rs_chatgpt.py: error: the following arguments are required: openai-key 作者,对您的研究非常感兴趣,想问下您运行过程中出现的openai-key报错要怎么解决呢?谢谢啦
Thanks for your question. Since the project was developed initially using Pycharm, it seems that there will be some problems when running in the shell. I have thoroughly updated the whole project. Please let me know if there are any further problems. Thanks!
@Lzqbalabala, In the code file, re_chatgpt.py, line 584, you need to change openai-key -> openai_key, it would then work. also in the requirements.txt file, you need to make one change skimage -> scikit-image. and then you will have to download weights individually, create a checkpoints folder in your working directory, and upload the weights. Now good to go...
Thank you very much for your contribution to the project! I have updated the whole project to increase readability (also with your solusion).
root@autodl-container-7e0c4db22a-9f3ec4ab:~/RSGPT# python interface.py usage: interface.py [-h] [--load LOAD] openai-key interface.py: error: the following arguments are required: openai-key root@autodl-container-7e0c4db22a-9f3ec4ab:~/RSGPT# python rs_chatgpt.py usage: rs_chatgpt.py [-h] [--image-dir IMAGE_DIR] [--gpt_name {gpt-3.5-turbo,gpt-4}] [--load LOAD] openai-key rs_chatgpt.py: error: the following arguments are required: openai-key 作者,对您的研究非常感兴趣,想问下您运行过程中出现的openai-key报错要怎么解决呢?谢谢啦