We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when i i run this command model.fit(x_train_raw, y_train_raw, epochs=5)
x_valid_raw = np.array(X_valid) y_valid_raw = np.array(Y_valid) test_loss, test_acc = model.evaluate(x_valid_raw, y_valid_raw) test_loss test_acc
so this problem occurs can anyone help me?
FailedPreconditionError Traceback (most recent call last) in () 1 ----> 2 model.fit(x_train_raw, y_train_raw, epochs=5) 3 4 x_valid_raw = np.array(X_valid) 5 y_valid_raw = np.array(Y_valid)
4 frames /usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py in call(self, *args, **kwargs) 1470 ret = tf_session.TF_SessionRunCallable(self._session._session, 1471 self._handle, args, -> 1472 run_metadata_ptr) 1473 if run_metadata: 1474 proto_data = tf_session.TF_GetBuffer(run_metadata_ptr)
FailedPreconditionError: Attempting to use uninitialized value training_4/Adam/Variable_1 [[{{node training_4/Adam/Variable_1/read}}]]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
when i i run this command
model.fit(x_train_raw, y_train_raw, epochs=5)
x_valid_raw = np.array(X_valid)
y_valid_raw = np.array(Y_valid)
test_loss, test_acc = model.evaluate(x_valid_raw, y_valid_raw)
test_loss
test_acc
so this problem occurs can anyone help me?
FailedPreconditionError Traceback (most recent call last)
in ()
1
----> 2 model.fit(x_train_raw, y_train_raw, epochs=5)
3
4 x_valid_raw = np.array(X_valid)
5 y_valid_raw = np.array(Y_valid)
4 frames
/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py in call(self, *args, **kwargs)
1470 ret = tf_session.TF_SessionRunCallable(self._session._session,
1471 self._handle, args,
-> 1472 run_metadata_ptr)
1473 if run_metadata:
1474 proto_data = tf_session.TF_GetBuffer(run_metadata_ptr)
FailedPreconditionError: Attempting to use uninitialized value training_4/Adam/Variable_1
[[{{node training_4/Adam/Variable_1/read}}]]
The text was updated successfully, but these errors were encountered: