Skip to content

Commit

Permalink
update csv
Browse files Browse the repository at this point in the history
  • Loading branch information
yurizzzzz committed Dec 4, 2021
1 parent 6b500f5 commit c684ad4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 46 deletions.
4 changes: 2 additions & 2 deletions code/compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import sys
import os

fzwFile = open("./predict2.csv", "r")
fzwFile = open("./predict3.csv", "r")
wxFile = open("./submission.csv", "r")
reader1 = csv.reader(fzwFile)
reader2 = csv.reader(wxFile)
Expand Down Expand Up @@ -39,7 +39,7 @@
f = open('difference.csv', 'w', encoding='utf-8', newline="")
csv_write = csv.writer(f)
csv_write.writerow(["filename", "fzw", "wx"])
print(dif_list)
print(len(dif_list))
for i in range(len(dif_list)):
filename = 'test_' + str(dif_list[i]) + '.jpg'
file_label1 = label_list1[dif_list[i]]
Expand Down
52 changes: 8 additions & 44 deletions code/difference.csv
Original file line number Diff line number Diff line change
@@ -1,72 +1,36 @@
filename,fzw,wx
test_14.jpg,0,1
test_299.jpg,0,1
test_713.jpg,0,1
test_746.jpg,0,1
test_768.jpg,1,0
test_888.jpg,0,1
test_1241.jpg,0,1
test_1308.jpg,0,1
test_1311.jpg,0,1
test_1331.jpg,0,1
test_1393.jpg,0,1
test_1434.jpg,0,1
test_1436.jpg,0,1
test_1475.jpg,0,1
test_1526.jpg,1,0
test_1631.jpg,0,1
test_1651.jpg,0,1
test_1718.jpg,0,1
test_1780.jpg,0,1
test_1906.jpg,1,0
test_1920.jpg,0,1
test_1932.jpg,0,1
test_2006.jpg,0,1
test_2019.jpg,0,1
test_2044.jpg,0,1
test_2104.jpg,0,1
test_2246.jpg,0,1
test_2399.jpg,0,1
test_2901.jpg,0,1
test_2924.jpg,1,0
test_3101.jpg,0,1
test_3482.jpg,0,1
test_3498.jpg,1,0
test_3559.jpg,0,1
test_2256.jpg,0,1
test_2961.jpg,0,1
test_3640.jpg,0,1
test_3667.jpg,1,0
test_4011.jpg,1,0
test_4066.jpg,0,1
test_4220.jpg,1,0
test_4565.jpg,0,1
test_3826.jpg,1,0
test_3987.jpg,0,1
test_4586.jpg,0,1
test_4688.jpg,0,1
test_4756.jpg,0,1
test_4823.jpg,0,1
test_4878.jpg,0,1
test_4900.jpg,0,1
test_4905.jpg,0,1
test_4996.jpg,1,0
test_4998.jpg,0,1
test_5106.jpg,0,1
test_5161.jpg,0,1
test_5296.jpg,0,1
test_5412.jpg,1,0
test_5649.jpg,1,0
test_5677.jpg,0,1
test_5835.jpg,1,0
test_5998.jpg,1,0
test_6029.jpg,0,1
test_6186.jpg,0,1
test_6321.jpg,0,1
test_6324.jpg,0,1
test_6568.jpg,0,1
test_7004.jpg,0,1
test_7022.jpg,0,1
test_7027.jpg,0,1
test_7147.jpg,0,1
test_7278.jpg,1,0
test_7289.jpg,0,1
test_7341.jpg,0,1
test_7580.jpg,0,1
test_7688.jpg,0,1
test_7752.jpg,0,1
test_7758.jpg,0,1
test_7837.jpg,0,1
test_8034.jpg,0,1

0 comments on commit c684ad4

Please sign in to comment.