From f2e12f62668525bc60170b2cb5a81eac024033d0 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Tue, 16 Apr 2019 23:47:25 +0200 Subject: [PATCH] updates --- data/coco_100val.data | 6 --- data/coco_100val.txt | 100 ------------------------------------------ train.py | 2 +- 3 files changed, 1 insertion(+), 107 deletions(-) delete mode 100644 data/coco_100val.data delete mode 100644 data/coco_100val.txt diff --git a/data/coco_100val.data b/data/coco_100val.data deleted file mode 100644 index 3925a627..00000000 --- a/data/coco_100val.data +++ /dev/null @@ -1,6 +0,0 @@ -classes=80 -train=./data/coco_100img.txt -valid=./data/coco_100val.txt -names=data/coco.names -backup=backup/ -eval=coco diff --git a/data/coco_100val.txt b/data/coco_100val.txt deleted file mode 100644 index b623ed01..00000000 --- a/data/coco_100val.txt +++ /dev/null @@ -1,100 +0,0 @@ -../coco/images/val2014/COCO_val2014_000000000164.jpg -../coco/images/val2014/COCO_val2014_000000000192.jpg -../coco/images/val2014/COCO_val2014_000000000283.jpg -../coco/images/val2014/COCO_val2014_000000000397.jpg -../coco/images/val2014/COCO_val2014_000000000589.jpg -../coco/images/val2014/COCO_val2014_000000000599.jpg -../coco/images/val2014/COCO_val2014_000000000711.jpg -../coco/images/val2014/COCO_val2014_000000000757.jpg -../coco/images/val2014/COCO_val2014_000000000764.jpg -../coco/images/val2014/COCO_val2014_000000000872.jpg -../coco/images/val2014/COCO_val2014_000000001063.jpg -../coco/images/val2014/COCO_val2014_000000001554.jpg -../coco/images/val2014/COCO_val2014_000000001667.jpg -../coco/images/val2014/COCO_val2014_000000001700.jpg -../coco/images/val2014/COCO_val2014_000000001869.jpg -../coco/images/val2014/COCO_val2014_000000002124.jpg -../coco/images/val2014/COCO_val2014_000000002261.jpg -../coco/images/val2014/COCO_val2014_000000002621.jpg -../coco/images/val2014/COCO_val2014_000000002684.jpg -../coco/images/val2014/COCO_val2014_000000002764.jpg -../coco/images/val2014/COCO_val2014_000000002894.jpg -../coco/images/val2014/COCO_val2014_000000002972.jpg -../coco/images/val2014/COCO_val2014_000000003035.jpg -../coco/images/val2014/COCO_val2014_000000003084.jpg -../coco/images/val2014/COCO_val2014_000000003103.jpg -../coco/images/val2014/COCO_val2014_000000003109.jpg -../coco/images/val2014/COCO_val2014_000000003134.jpg -../coco/images/val2014/COCO_val2014_000000003209.jpg -../coco/images/val2014/COCO_val2014_000000003244.jpg -../coco/images/val2014/COCO_val2014_000000003326.jpg -../coco/images/val2014/COCO_val2014_000000003337.jpg -../coco/images/val2014/COCO_val2014_000000003661.jpg -../coco/images/val2014/COCO_val2014_000000003711.jpg -../coco/images/val2014/COCO_val2014_000000003779.jpg -../coco/images/val2014/COCO_val2014_000000003865.jpg -../coco/images/val2014/COCO_val2014_000000004079.jpg -../coco/images/val2014/COCO_val2014_000000004092.jpg -../coco/images/val2014/COCO_val2014_000000004283.jpg -../coco/images/val2014/COCO_val2014_000000004296.jpg -../coco/images/val2014/COCO_val2014_000000004392.jpg -../coco/images/val2014/COCO_val2014_000000004742.jpg -../coco/images/val2014/COCO_val2014_000000004754.jpg -../coco/images/val2014/COCO_val2014_000000004764.jpg -../coco/images/val2014/COCO_val2014_000000005038.jpg -../coco/images/val2014/COCO_val2014_000000005060.jpg -../coco/images/val2014/COCO_val2014_000000005124.jpg -../coco/images/val2014/COCO_val2014_000000005178.jpg -../coco/images/val2014/COCO_val2014_000000005205.jpg -../coco/images/val2014/COCO_val2014_000000005443.jpg -../coco/images/val2014/COCO_val2014_000000005652.jpg -../coco/images/val2014/COCO_val2014_000000005723.jpg -../coco/images/val2014/COCO_val2014_000000005804.jpg -../coco/images/val2014/COCO_val2014_000000006074.jpg -../coco/images/val2014/COCO_val2014_000000006091.jpg -../coco/images/val2014/COCO_val2014_000000006153.jpg -../coco/images/val2014/COCO_val2014_000000006213.jpg -../coco/images/val2014/COCO_val2014_000000006497.jpg -../coco/images/val2014/COCO_val2014_000000006789.jpg -../coco/images/val2014/COCO_val2014_000000006847.jpg -../coco/images/val2014/COCO_val2014_000000007241.jpg -../coco/images/val2014/COCO_val2014_000000007256.jpg -../coco/images/val2014/COCO_val2014_000000007281.jpg -../coco/images/val2014/COCO_val2014_000000007795.jpg -../coco/images/val2014/COCO_val2014_000000007867.jpg -../coco/images/val2014/COCO_val2014_000000007873.jpg -../coco/images/val2014/COCO_val2014_000000007899.jpg -../coco/images/val2014/COCO_val2014_000000008010.jpg -../coco/images/val2014/COCO_val2014_000000008179.jpg -../coco/images/val2014/COCO_val2014_000000008190.jpg -../coco/images/val2014/COCO_val2014_000000008204.jpg -../coco/images/val2014/COCO_val2014_000000008350.jpg -../coco/images/val2014/COCO_val2014_000000008493.jpg -../coco/images/val2014/COCO_val2014_000000008853.jpg -../coco/images/val2014/COCO_val2014_000000009105.jpg -../coco/images/val2014/COCO_val2014_000000009156.jpg -../coco/images/val2014/COCO_val2014_000000009217.jpg -../coco/images/val2014/COCO_val2014_000000009270.jpg -../coco/images/val2014/COCO_val2014_000000009286.jpg -../coco/images/val2014/COCO_val2014_000000009548.jpg -../coco/images/val2014/COCO_val2014_000000009553.jpg -../coco/images/val2014/COCO_val2014_000000009727.jpg -../coco/images/val2014/COCO_val2014_000000009908.jpg -../coco/images/val2014/COCO_val2014_000000010114.jpg -../coco/images/val2014/COCO_val2014_000000010249.jpg -../coco/images/val2014/COCO_val2014_000000010395.jpg -../coco/images/val2014/COCO_val2014_000000010400.jpg -../coco/images/val2014/COCO_val2014_000000010463.jpg -../coco/images/val2014/COCO_val2014_000000010613.jpg -../coco/images/val2014/COCO_val2014_000000010764.jpg -../coco/images/val2014/COCO_val2014_000000010779.jpg -../coco/images/val2014/COCO_val2014_000000010928.jpg -../coco/images/val2014/COCO_val2014_000000011099.jpg -../coco/images/val2014/COCO_val2014_000000011181.jpg -../coco/images/val2014/COCO_val2014_000000011184.jpg -../coco/images/val2014/COCO_val2014_000000011197.jpg -../coco/images/val2014/COCO_val2014_000000011320.jpg -../coco/images/val2014/COCO_val2014_000000011721.jpg -../coco/images/val2014/COCO_val2014_000000011813.jpg -../coco/images/val2014/COCO_val2014_000000012014.jpg -../coco/images/val2014/COCO_val2014_000000012047.jpg diff --git a/train.py b/train.py index 5bce4adc..0b3eb4e4 100644 --- a/train.py +++ b/train.py @@ -92,7 +92,7 @@ def train( dataloader = DataLoader(dataset, batch_size=batch_size, num_workers=num_workers, - shuffle=False, + shuffle=True, pin_memory=True, collate_fn=dataset.collate_fn, sampler=sampler)