Significant-Gravitas / AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
https://agpt.co
Other
167.69k stars 44.28k forks source link

getting this error in VS code while deploying my ML model using flask #7336

Closed harmansb closed 1 month ago

harmansb commented 3 months ago

⚠️ Search for existing issues first ⚠️

Which Operating System are you using?

Windows

Which version of AutoGPT are you using?

Latest Release

Do you use OpenAI GPT-3 or GPT-4?

GPT-3.5

Which area covers your issue best?

Installation and setup

Describe your issue.

flask run Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Users\hp\Desktop\New folder (2)\venv\Scripts\flask.exe__main.py", line 7, in File "C:\Users\hp\Desktop\New folder (2)\venv\Lib\site-packages\flask\cli.py", line 1105, in main cli.main() File "C:\Users\hp\Desktop\New folder (2)\venv\Lib\site-packages\click\core.py", line 1078, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "C:\Users\hp\Desktop\New folder (2)\venv\Lib\site-packages\click\core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\hp\Desktop\New folder (2)\venv\Lib\site-packages\click\core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\hp\Desktop\New folder (2)\venv\Lib\site-packages\click\core.py", line 783, in invoke return callback(*args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\hp\Desktop\New folder (2)\venv\Lib\site-packages\click\decorators.py", line 92, in new_func return ctx.invoke(f, obj, *args, *kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\hp\Desktop\New folder (2)\venv\Lib\site-packages\click\core.py", line 783, in invoke return __callback(args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\hp\Desktop\New folder (2)\venv\Lib\site-packages\flask\cli.py", line 953, in run_command raise e from None File "C:\Users\hp\Desktop\New folder (2)\venv\Lib\site-packages\flask\cli.py", line 937, in run_command app: WSGIApplication = info.load_app() ^^^^^^^^^^^^^^^ File "C:\Users\hp\Desktop\New folder (2)\venv\Lib\site-packages\flask\cli.py", line 339, in load_app app = locate_app(import_name, None, raise_if_not_found=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\hp\Desktop\New folder (2)\venv\Lib\site-packages\flask\cli.py", line 245, in locate_app import(module_name) File "C:\Users\hp\Desktop\New folder (2)\app.py", line 18, in raise ValueError(f"Error loading model: {e}") ValueError: Error loading model: No model config found in the file at new_plants1.h5.

Upload Activity Log Content

No response

Upload Error Log Content

No response

github-actions[bot] commented 1 month ago

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

github-actions[bot] commented 1 month ago

This issue was closed automatically because it has been stale for 10 days with no activity.