hoang98long / VN_Bike_License_Plate_recoginition

VN_Bike_License_Plate_recoginition
3 stars 1 forks source link

Prevent reloading model #1

Open ausarhuy opened 2 years ago

ausarhuy commented 2 years ago

You can use the Singleton pattern to prevent reloading the models. Here is my suggestion https://python-patterns.guide/gang-of-four/singleton/

hoang98long commented 2 years ago
Thank you very much for your suggestion. This is just a demo code. I developed these in a product, which used python socket for loading models and having these models available on listening requests.  Sent from Mail for Windows From: David AusarSent: Sunday, July 3, 2022 10:56 PMTo: hoang98long/VN_Bike_License_Plate_recoginitionCc: SubscribedSubject: [hoang98long/VN_Bike_License_Plate_recoginition] Prevent reloading model (Issue #1) You can use the Singleton pattern to prevent reloading the models. Here is my suggestion https://python-patterns.guide/gang-of-four/singleton/—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>