diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 6180ca0..e693b86 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,6 +3,7 @@ + @@ -223,7 +224,7 @@ - + @@ -264,12 +265,12 @@ - @@ -280,10 +281,10 @@ - + - + @@ -338,13 +339,6 @@ - - - - - - - @@ -395,14 +389,21 @@ - - + + + + + + + + + diff --git a/Dockerfile b/Dockerfile index 7ffcbf0..d9a5e0b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN apt update && \ apt install -y git vim httpie && \ rm -rf /var/lib/apt/lists/* -RUN pip3 install pandas sklearn tensorflow-gpu==1.14 +RUN pip3 install pandas sklearn tensorflow-gpu==1.14 keras ADD bootstrap.sh /etc/bootstrap.sh diff --git a/train.py b/train.py index 0668898..f09f7b5 100644 --- a/train.py +++ b/train.py @@ -73,6 +73,7 @@ def fit_lstm(train, batch_size, nb_epoch, neurons): model.add(Dense(1)) model.compile(loss='mean_squared_error', optimizer='adam') for i in range(nb_epoch): + print("Epoch {}/{}".format(i, nb_epoch)) model.fit(X, y, epochs=1, batch_size=batch_size, verbose=0, shuffle=False) model.reset_states() return model