Update path to key conversion to enable using paths with extensions
All threads resolved!
All threads resolved!
This is a very small change that would greatly facilitate writing CSVDataset interfaces for databases with multiple file extensions (cf. #160 (closed)).
I propose to simply strip the extension from the file path when creating the sample key, which enables to also use file paths containing extensions.
Nothing needs to be changed for the data loading : if using paths with extension, we can just set extension=""
when initializing the CSVToSampleLoaderBiometrics.
Edited by Laurent COLBOIS
Merge request reports
Activity
Actually, if we do this change, should I also change the
bob.pipelines.CSVToSampleLoader
as well ? It has the same situation occuring.Edited by Laurent COLBOIS- Resolved by Laurent COLBOIS
Please register or sign in to reply