Commit Graph
6 Commits
Author SHA1 Message Date
niten ed962240b3 Use a pool of detectors.
When more than a single request was coming in at a time, the server
would crash when trying to write the output file. Each worker had a
single detector with one DN network, so if more than <WORKER#> requests
came in at once, one network would be used multiple times--and it's not
threadsafe.

I've added a queue of nets to pull from, so each request has exclusive
access to a specific network.
2023-03-15 12:31:01 -07:00
niten 62d5bb7c2b Ensure we're passing a string to imread 2023-01-10 14:20:31 -08:00
niten 139cba1e39 unused import 2023-01-07 16:47:07 -08:00
niten d61b62e973 Add module string, sigh 2023-01-07 16:46:52 -08:00
niten 12846d890a Remove stupid cache 2023-01-07 15:54:52 -08:00
niten e240b33b77 Initial commit 2023-01-06 14:46:11 -08:00