Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion conv_net_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
import theano.tensor.shared_randomstreams
import theano
import theano.tensor as T
from theano.tensor.signal import downsample
# from theano.tensor.signal import downsample
from theano.tensor.signal import pool
from theano.tensor.nnet import conv

def ReLU(x):
Expand Down
2 changes: 1 addition & 1 deletion conv_net_train.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ def make_idx_data_cv(revs, word_idx_map, mairesse, charged_words, cv, per_attr=0

r = range(0,10)

ofile=file('perf_output_'+str(attr)+'.txt','w')
ofile=open('perf_output_'+str(attr)+'.txt','w')

charged_words=[]

Expand Down