IUM_06
This commit is contained in:
parent
29e4a67c43
commit
22d93bb82e
@ -23,6 +23,6 @@ model.compile(optimizer='adam',
|
||||
loss='binary_crossentropy',
|
||||
metrics=['accuracy'])
|
||||
|
||||
model.fit(X_train_pad, y_train, epochs=sys.argv[1], batch_size=sys.argv[2], validation_split=0.1)
|
||||
model.fit(X_train_pad, y_train, epochs=int(sys.argv[1]), batch_size=int(sys.argv[2]), validation_split=0.1)
|
||||
|
||||
model.save('beer_review_sentiment_model.h5')
|
||||
|
Loading…
Reference in New Issue
Block a user