ZoneMinder / mlapi

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

specify target GPU when more than one are available #50

Closed f3sty closed 7 months ago

f3sty commented 11 months 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 11 months 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 8 months ago

@connortechnology any chance you could review this PR?

connortechnology commented 7 months ago

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