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
Thanks for the great work! I'm trying to get this to work with Keras 2.4 and encountering a few issues. The current one is as follows:
File "C:\Users\__\Anaconda3\envs\ocr\lib\site-packages\tensorflow\python\framework\tensor_util.py", line 463, in make_tensor_proto if shape is not None and np.prod(shape, dtype=np.int64) == 0: File "<__array_function__ internals>", line 6, in prod File "C:\Users\__\Anaconda3\envs\ocr\lib\site-packages\numpy\core\fromnumeric.py", line 3000, in prod keepdims=keepdims, initial=initial, where=where) File "C:\Users\__\Anaconda3\envs\ocr\lib\site-packages\numpy\core\fromnumeric.py", line 87, in _wrapreduction return ufunc.reduce(obj, axis, dtype, out, **passkwargs) TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
This is happening due to a change in add_weight in FixedBatchNormalization.py where instead of passing shape, I pass (shape=shape)
The text was updated successfully, but these errors were encountered:
Thanks for the great work! I'm trying to get this to work with Keras 2.4 and encountering a few issues. The current one is as follows:
File "C:\Users\__\Anaconda3\envs\ocr\lib\site-packages\tensorflow\python\framework\tensor_util.py", line 463, in make_tensor_proto if shape is not None and np.prod(shape, dtype=np.int64) == 0: File "<__array_function__ internals>", line 6, in prod File "C:\Users\__\Anaconda3\envs\ocr\lib\site-packages\numpy\core\fromnumeric.py", line 3000, in prod keepdims=keepdims, initial=initial, where=where) File "C:\Users\__\Anaconda3\envs\ocr\lib\site-packages\numpy\core\fromnumeric.py", line 87, in _wrapreduction return ufunc.reduce(obj, axis, dtype, out, **passkwargs) TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
This is happening due to a change in add_weight in FixedBatchNormalization.py where instead of passing shape, I pass (shape=shape)
The text was updated successfully, but these errors were encountered: