Skip to content

Commit

Permalink
Python code
Browse files Browse the repository at this point in the history
  • Loading branch information
lincior committed Sep 4, 2018
1 parent dc84366 commit 0406cf4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions code/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
from keras.callbacks import ModelCheckpoint, ReduceLROnPlateau
from keras.utils import to_categorical

# PARAMETERS #####################################################################
# PARAMETERS ########################################################################################################
subject = [1,2,3,4]
task = "A" # choose between "A" or "B"
model_names = ["ConvolutionalDeepRecurrent", "Convolutional2DRecurrent"]
task = "A" # choose between "A" or "B"
model_names = ["Convolutional", "Convolutional1DRecurrent", "Convolutional2DRecurrent", "ConvolutionalDeepRecurrent"]
data_folder = "../data/full/"
window_size = 15
stride = 5
GPU = True
epochs = 10
batch_size = 32
##################################################################################
#####################################################################################################################

# create folder to store temporary data and results
if not(os.path.exists("./data")):
Expand Down
8 changes: 4 additions & 4 deletions code/main_multiuser.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
from keras.callbacks import ModelCheckpoint, ReduceLROnPlateau
from keras.utils import to_categorical

# PARAMETERS #####################################################################
# PARAMETERS ########################################################################################################
subject = [23]
task = "A" # choose between "A" or "B"
model_names = ["Convolutional2DRecurrent", "ConvolutionalDeepRecurrent"]
task = "A" # choose between "A" or "B"
model_names = ["Convolutional", "Convolutional1DRecurrent", "Convolutional2DRecurrent", "ConvolutionalDeepRecurrent"]
data_folder = "../data/full/"
window_size = 15
stride = 5
GPU = True
epochs = 10
batch_size = 32
##################################################################################
#####################################################################################################################

# create folder to store temporary data and results
if not(os.path.exists("./data")):
Expand Down

0 comments on commit 0406cf4

Please sign in to comment.