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
in the last part of BayesianClassification.ipynb the error that we get when trying to run it is an unsupported object type.
The text was updated successfully, but these errors were encountered:
`--------------------------------------------------------------------------- ValueError Traceback (most recent call last) in <cell line: 1>() ----> 1 history = bnn.fit( xTrain, tf.one_hot(yTrain,nClasses), 2 epochs=25, verbose=1, batch_size=128, class_weight=class_weight, 3 use_multiprocessing=True, validation_split=0.2)
1 frames /usr/local/lib/python3.10/dist-packages/tensorflow/python/framework/constant_op.py in convert_to_eager_tensor(value, ctx, dtype) 101 dtype = dtypes.as_dtype(dtype).as_datatype_enum 102 ctx.ensure_initialized() --> 103 return ops.EagerTensor(value, ctx.device_name, dtype) 104 105
ValueError: Failed to convert a NumPy array to a Tensor (Unsupported object type int).`
Sorry, something went wrong.
we also get the same error in "BayesianClassification_Binary.ipynb"
No branches or pull requests
in the last part of BayesianClassification.ipynb the error that we get when trying to run it is an unsupported object type.
The text was updated successfully, but these errors were encountered: