Closed kasra-hosseini closed 4 years ago
This should be addressed in https://github.com/Living-with-machines/DeezyMatch/pull/39/commits/f88ec94a5aac8a647078a215ce91c1dfe9b244fb and https://github.com/Living-with-machines/DeezyMatch/pull/39/commits/c08e6ce11f19b881dbe42851ba6c4e7f269aaf00. The device specified in the input is used in both combineVecs and candidateFinder. Faiss still uses CPU (refer to issue #43 ).
I think it would be good to add the possibility to specify the device from a command-line argument in each python script, to make it easier for the user to select the device. Does that sound good @kasra-hosseini?