We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If you enable storage of detections by setting STORE=--store in the .env file, you encounter a runtime error when launching the midas engine.
midas-engine | INFO:openmidas.midas_engine:Depth predictor initialized with the following model: MiDaS_small midas-engine | Traceback (most recent call last): midas-engine | File "/openmidas-server/.venv/bin/openmidas-midas-engine", line 6, in <module> midas-engine | sys.exit(main()) midas-engine | File "/openmidas-server/src/openmidas/depth.py", line 63, in main midas-engine | engine_runner.run(engine=engine_setup(), source_name=args.source, server_address=args.gabriel, all_responses_required=True) midas-engine | File "/openmidas-server/src/openmidas/depth.py", line 60, in engine_setup midas-engine | engine = MiDaSEngine(args) midas-engine | File "/openmidas-server/src/openmidas/midas_engine.py", line 51, in __init__ midas-engine | self.watermark = Image.open(os.getcwd()+"/watermark.png") midas-engine | File "/openmidas-server/.venv/lib/python3.8/site-packages/PIL/Image.py", line 3236, in open midas-engine | fp = builtins.open(filename, "rb") midas-engine | FileNotFoundError: [Errno 2] No such file or directory: '/openmidas-server/watermark.png'
The text was updated successfully, but these errors were encountered:
We can put the watermark as an asset in the python module. Let me find where I did that in another project...
Sorry, something went wrong.
No branches or pull requests
If you enable storage of detections by setting STORE=--store in the .env file, you encounter a runtime error when launching the midas engine.
The text was updated successfully, but these errors were encountered: