Skip to content

Commit b003090

Browse files
author
Zhiguang Wang
committed
up-to-date with tensorflow >= 1.13, add CAM example in FCN
1 parent d1da2f4 commit b003090

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

FCN.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def readucr(filename):
1818
X = data[:,1:]
1919
return X, Y
2020

21-
nb_epochs = 2
21+
nb_epochs = 2000
2222

2323

2424
#flist = ['Adiac', 'Beef', 'CBF', 'ChlorineConcentration', 'CinC_ECG_torso', 'Coffee', 'Cricket_X', 'Cricket_Y', 'Cricket_Z',

MLP.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,3 @@ def readucr(filename):
8383
log = pd.DataFrame(hist.history)
8484
print(log.loc[log['loss'].idxmin]['loss'], log.loc[log['loss'].idxmin]['val_acc'])
8585

86-
87-

ResNet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def readucr(filename):
101101
X = data[:,1:]
102102
return X, Y
103103

104-
nb_epochs = 1000
104+
nb_epochs = 1500
105105

106106

107107
#flist = ['Adiac', 'Beef', 'CBF', 'ChlorineConcentration', 'CinC_ECG_torso', 'Coffee', 'Cricket_X', 'Cricket_Y', 'Cricket_Z',

0 commit comments

Comments
 (0)