You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am getting this following error when trying to run your code ..please provide me a solution to overcome it..
3343, 171)
(3343, 2)
(2229, 171)
(2229, 2)
TypeError Traceback (most recent call last)
TypeError: float() argument must be a string or a number, not 'Tensor'
The above exception was the direct cause of the following exception:
ValueError Traceback (most recent call last)
<ipython-input-16-7996db5b94d7> in <module>()
13 print( test_Y.shape )
14
---> 15 classifier = Classifier( number_of_classes=2 , maxlen=171 )
16 #classifier.load_model( 'models/model.h5' )
17
10 frames
/usr/local/lib/python3.6/dist-packages/numpy/core/_asarray.py in asarray(a, dtype, order)
83
84 """
---> 85 return array(a, dtype, copy=False, order=order)
86
87
ValueError: setting an array element with a sequence.
The text was updated successfully, but these errors were encountered:
I have tried running the code again using TensorFlow 2.1. The code works fine. Anyways, I have updated the project with the latest commit. Please try running the updated files.
i am getting this following error when trying to run your code ..please provide me a solution to overcome it..
3343, 171)
(3343, 2)
(2229, 171)
(2229, 2)
The text was updated successfully, but these errors were encountered: