Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated line 438 to open instead of file #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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