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
Hello
First of all, congratulation on your model. I tried to run it and have some issues.
on the reshape section I have this error, and cannot figure out how to resolve it. inputs = tf.reshape(inputs, [-1, n_channels, input_depth / n_channels])
Error: Value passed to parameter 'shape' has DataType float32 not in list of allowed values: int32, int64
Thank you for any help
The text was updated successfully, but these errors were encountered:
Hello,
I think you can change
inputs = tf.reshape(inputs, [-1, n_channels, input_depth /
n_channels]) to inputs
= tf.reshape(inputs, [-1, n_channels, int(input_depth / n_channels]))
to fix it.
Regards,
Sajad
On Thu, May 13, 2021 at 9:24 AM elhazz ***@***.***> wrote:
Hello
First of all, congratulation on your model. I tried to run it and have
some issues.
on the reshape section I have this error, and cannot figure out how to
resolve it.
inputs = tf.reshape(inputs, [-1, n_channels, input_depth / n_channels])
Error:
Value passed to parameter 'shape' has DataType float32 not in list of
allowed values: int32, int64
Thank you for any help
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#8>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD4D7SMNR6IKCMFKWSLMYIDTNPHJDANCNFSM442RQV7A>
.
Hello
First of all, congratulation on your model. I tried to run it and have some issues.
on the reshape section I have this error, and cannot figure out how to resolve it.
inputs = tf.reshape(inputs, [-1, n_channels, input_depth / n_channels])
Error:
Value passed to parameter 'shape' has DataType float32 not in list of allowed values: int32, int64
Thank you for any help
The text was updated successfully, but these errors were encountered: