Fixed docker
Some checks failed
s444380-training/pipeline/head There was a failure building this commit
Some checks failed
s444380-training/pipeline/head There was a failure building this commit
This commit is contained in:
parent
e934c1bf17
commit
197008f99d
@ -15,6 +15,6 @@ RUN apt-get update && apt-get install -y python3-pip unzip && rm -rf /var/lib/ap
|
||||
|
||||
RUN export PATH="$PATH:/root/.local/bin"
|
||||
|
||||
RUN pip3 install kaggle pandas scikit-learn tensorflow
|
||||
RUN pip3 install kaggle pandas scikit-learn tensorflow keras
|
||||
|
||||
RUN mkdir /.kaggle && chmod o+w /.kaggle
|
||||
|
@ -71,7 +71,7 @@ else:
|
||||
epochs = 10
|
||||
|
||||
# Train model
|
||||
model.fit(x_train, y_train, epochs=epochs, validation_data=(x_val, y_val))
|
||||
model.fit(x_train, y_train, epochs=int(epochs), validation_data=(x_val, y_val))
|
||||
|
||||
# Make predictions
|
||||
y_pred = model.predict(x_test)
|
||||
|
Loading…
Reference in New Issue
Block a user