deepfates / memery

Search over large image datasets with natural language and computer vision!
https://deepfates.com/memery
MIT License
525 stars 27 forks source link

Speed printouts are inaccurate #14

Closed deepfates closed 3 years ago

deepfates commented 3 years ago

The print commands to stdout are not helpful to the end user. They need to be refactored to take into account the entire length of the process, including loading the db and processing the images.

Related: the GUI loads the db anew for each search, as well as importing all the modules and CLIP model. What if they were loaded separately, using a different Flow than the ones in 00_core?

deepfates commented 3 years ago

Fixed this temporarily by wrapping the whole queryFlow. In future, a better system of logging and display is obviously necessary. I've made an enhancement issue for that at #15 and for the GUI upgrade at #16. Closing this