Browse Source

debug cache

yjh0410 2 năm trước cách đây
mục cha
commit
0e014dd99f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      dataset/coco.py

+ 1 - 1
dataset/coco.py

@@ -102,7 +102,7 @@ class COCODataset(Dataset):
         self.cached_images = []
         self.cached_targets = []
         dataset_size = len(self.ids)
-
+        print('loading data into cache ...')
         for i in range(dataset_size):
             if i % 5000 == 0 and i > 0:
                 print("[{} / {}]".format(i, dataset_size))