Skip to content

Commit 3cb59a4

Browse files
committed
not important
1 parent f110772 commit 3cb59a4

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

check_csv.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
import pandas as pd
1010
import matplotlib.pyplot as plt
1111

12-
file = 'result/first/test_A_2.csv'
13-
#file = 'result/tf/A_1.csv'
12+
#file = 'result/first/test_A_2.csv'
13+
file = 'result/tf2/A_1.csv'
1414

1515
df = pd.read_csv(file, header = None)
1616

txt2csv.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
import pandas as pd
99
import csv
1010

11-
file = 'result/tf/A_1.csv'
11+
file = 'result/tf2/A_1.csv'
12+
file1 = 'result/tf2/test_image_name.csv'
13+
file2 = 'result/tf2/test_image_result.csv'
14+
1215

1316
def write_to_csv(aug_softmax):
1417
with open(file, 'w', encoding='utf-8') as csvfile:
@@ -18,8 +21,6 @@ def write_to_csv(aug_softmax):
1821
for c in range(0,30):
1922
spamwriter.writerow([item, c+1, aug_softmax[item][c]/the_sum])
2023

21-
file1 = 'result/tf/test_image_name.csv'
22-
file2 = 'result/tf/test_image_result.csv'
2324

2425
df1 = pd.read_csv(file1, header = None)
2526
df2 = pd.read_csv(file2, header = None, sep=' ')

0 commit comments

Comments
 (0)