Skip to content

Commit

Permalink
some curro shit
Browse files Browse the repository at this point in the history
  • Loading branch information
luster committed Aug 29, 2016
1 parent 5f73e06 commit 53d1266
Show file tree
Hide file tree
Showing 12 changed files with 52,541 additions and 53,697 deletions.
8 changes: 4 additions & 4 deletions thesis/comparisons/autoencoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
import matplotlib.pyplot as plt
from sklearn.metrics import mean_squared_error

SIMULATION_SNR = -6
SIMULATION_SNR = 6
FILE_SNR = '{} dB'.format(SIMULATION_SNR)
FILENAME_LOSS = 'plotfinal/dan-loss.csv'
FILENAME_MSE = 'plotfinal/dan-mse.csv'
FILENAME_LOSS = 'plotfinal/curro-loss.csv'
FILENAME_MSE = 'plotfinal/curro-mse.csv'
LOSSFILE = open(FILENAME_LOSS, 'a')
MSEFILE = open(FILENAME_MSE, 'a')
LINEFMT = FILE_SNR + ',{}\n'
Expand Down Expand Up @@ -506,7 +506,7 @@ def curro_main(params):
lnoi.append(loss2)

print i, loss, loss1, loss2
LOSSFILE.WRITE(LINEFMTLOSS.format(loss,loss1,loss2))
LOSSFILE.write(LINEFMTLOSS.format(loss,loss1,loss2))

if i in range(0,params.niter+50,50):
# validate mse
Expand Down
Loading

0 comments on commit 53d1266

Please sign in to comment.