ZoneMinder / mlapi

An easy to use/extend object recognition API you can locally install. Python+Flask. Also works with ZMES!
Other
58 stars 34 forks source link

specify target GPU when more than one are available #50

Closed f3sty closed 10 months ago

f3sty commented 1 year ago

mlapi will currently use the first CUDA GPU detected (GPU 0). This PR adds an optional arg -g/--gpu N to specify which GPU to use.

baudneo commented 1 year ago

Sorry I don't have write access to this repo, just zoneminder repo, or I would merge this for you. Need to wait for Ic0n.

f3sty commented 11 months ago

@connortechnology any chance you could review this PR?

connortechnology commented 10 months ago

Hey sorry, I don't think I ever got a notification about this, just stumbled across it today.