[Feature Request] Support for passing in image path parameters to start
See original GitHub issueWhen used as a local tool, most of the time you may only need to process a single photo, and it could be a bit more convenient if it could support passing in the image path at startup, eliminating the need to manually select the path. Let’s say the following.
python3 main.py --device=cuda --port=8080 --model=lama --image path/example.jpg
python3 main.py --device=cuda --port=8080 --model=ldm --ldm-steps=50 --image path/example.jpg
Issue Analytics
- State:
- Created a year ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
[Feature Request] az pipeline run --parameters (--variables ...
If anyone is looking at how to pass an array to the --parameters argument then you can use 'splatting' on the array e.g.....
Read more >Query (Feature Service/Layer)—ArcGIS REST APIs
Supports pagination in a query layer. Use the resultOffset and resultRecordCount parameters to page through a query result. Note that when you pass...
Read more >Get Started | Maps Static API - Google Developers
The Maps Static API returns an image (either GIF, PNG or JPEG) in response to an HTTP request via a URL. For each...
Read more >Passing parameters to your programs as args - Core Concepts
Passing params with args. Passing the parameters as args requires that you create and expose your programs as simple command-line applications.
Read more >Path Parameters - FastAPI
OpenAPI doesn't support a way to declare a path parameter to contain a path inside, as that could lead to scenarios that are...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m working on it. Have the image loading already but trying to see the optimal way to handle this. I’ll make a pull request when I’m done.
I can see a few uses for this now that you mention it. And doesn’t seem complicated to implement so why not