AVAuco / ucolaeodb

UCO-LAEO database: annotated database for training and evaluating LAEO models
8 stars 2 forks source link

FileNotFound #3

Closed RSKothari closed 4 years ago

RSKothari commented 4 years ago

FileNotFoundError: [Errno 2] No such file or directory: '/media/rakshit/tank/Dataset/UCO/annotations/annotations_head/negatives20_heads.txt'

The annotation text files have a missing "s" in them.

Hope the following code helps you:

import os

for i in range(0, 30):
    str_old = 'negative{:02}_heads.txt'.format(i)
    str_new = 'negatives{:02}_heads.txt'.format(i)
    os.system("mv {} {}".format(str_old, str_new))
mjmarin commented 4 years ago

Thank you @RSKothari , we have updated the package. Regards.