pull/1509/head
Piero Toffanin 2022-07-21 23:43:42 -04:00
rodzic 12bb725992
commit 9171455012
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -405,6 +405,8 @@ class OSFMContext:
if hasattr(self, 'gpu_sift_feature_extraction'):
log.ODM_WARNING("GPU SIFT extraction failed, maybe the graphics card is not supported? Attempting fallback to CPU")
self.update_config({'feature_type': "SIFT"})
if os.path.exists(features_dir):
shutil.rmtree(features_dir)
self.run('detect_features')
else:
raise e