update data_loader_cache.py

This commit is contained in:
PiggyJerry 2022-07-27 23:54:20 +04:00
parent 6e807f8d10
commit db68ff3480

View File

@ -76,7 +76,7 @@ def create_dataloaders(name_im_gt_list, cache_size=[], cache_boost=True, my_tran
gos_dataloaders = []
gos_datasets = []
# if(mode=="train"):
if(len(name_im_gt_list)==0):
return gos_dataloaders, gos_datasets