Skip to content

Commit

Permalink
modify
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuotaotian committed Aug 9, 2020
1 parent f4f5560 commit a87b762
Show file tree
Hide file tree
Showing 8 changed files with 143,809 additions and 0 deletions.
82,081 changes: 82,081 additions & 0 deletions lists/coco/train_data_list.txt

Large diffs are not rendered by default.

40,137 changes: 40,137 additions & 0 deletions lists/coco/val_data_list.txt

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions lists/pascal/duplicate_removel.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import os

raw_path = './voc_sbd_merge.txt'
new_path = './voc_sbd_merge_noduplicate.txt'
lines = open(raw_path).readlines()
new_f = open(new_path, 'w+')


existing_lines = []
for line in lines:
if line not in existing_lines:
existing_lines.append(line)
new_f.write(line)
print('Ori: {}, new: {}'.format(len(lines), len(existing_lines)))
print('Finished.')
5,623 changes: 5,623 additions & 0 deletions lists/pascal/sbd_data.txt

Large diffs are not rendered by default.

1,449 changes: 1,449 additions & 0 deletions lists/pascal/val_fixed.txt

Large diffs are not rendered by default.

1,464 changes: 1,464 additions & 0 deletions lists/pascal/voc_original_train.txt

Large diffs are not rendered by default.

7,087 changes: 7,087 additions & 0 deletions lists/pascal/voc_sbd_merge.txt

Large diffs are not rendered by default.

5,953 changes: 5,953 additions & 0 deletions lists/pascal/voc_sbd_merge_noduplicate.txt

Large diffs are not rendered by default.

0 comments on commit a87b762

Please sign in to comment.