Hi,
I ran the code shown below using
floyd run --gpu --env keras --data rdybowski/datasets/pima-indians-diabetes/1:pima 'python keras_demo_1.py'
but got the error message
2019-09-19 14:26:31,362 INFO - Run Output:
2019-09-19 14:26:31,431 INFO - Starting services.
2019-09-19 14:26:32,519 INFO - /floydlocaldata/expt_bjxEnzCcmN9X3E6aRha8BT/command.sh: line 30: python keras_demo_1.py: command not found
2019-09-19 14:26:32,626 INFO -
What does the error message "command not found" mean?
The code is as follows:
from numpy import loadtxt
from keras.models import Sequential
from keras.layers import Dense
dataset = loadtxt('/floyd/input/pima', delimiter=',')
X = dataset[:,0:8]
y = dataset[:,8]
model = Sequential()
model.add(Dense(12, input_dim=8, activation='relu'))
model.add(Dense(12, activation='relu'))
model.add(Dense(8, activation='relu'))
model.add(Dense(1, activation='sigmoid'))
model.compile(loss='binary_crossentropy', optimizer='adam', metrics=['accuracy'])
model.fit(X, y, epochs=150, batch_size=10)