barcode_detection_benchmark icon indicating copy to clipboard operation
barcode_detection_benchmark copied to clipboard

Synthetic dataset.csv Uses Backslashes "\" in Relative Paths

Open batuhanfaik opened this issue 4 years ago • 0 comments

Both the full and light_512_resized versions of the dataset use backslashes in their synthetic data paths. This causes problems on the Linux operating systems. I can write a script to replace backslashes with forward slashes and PR if you like.

As a temporary solution, Linux users can use str.replace(). E.g. image_name = str(row[self.input_key]) from src/data/data_readers.py on line 32 can be replaced with image_name = str(row[self.input_key]).replace("\\", "/") to prevent errors.

batuhanfaik avatar Nov 28 '20 09:11 batuhanfaik