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
ensorflow.python.framework.errors_impl.InvalidArgumentError: Reshape cannot infer the missing input size for an empty tensor unless all specified input sizes are non-zero..'
#2
Open
cchantra opened this issue
Feb 21, 2018
· 1 comment
I got this error when I retrain the network with my data set.
'tensorflow.python.framework.errors_impl.InvalidArgumentError: Reshape cannot infer the missing input size for an empty tensor unless all specified input sizes are non-zero..'
I use a small data set of 525 and class_num is 6. How to modify the number of iterations and the 50,0000 value in the code? (In SE_Inception_v4.py)
I already put the new iteration value to a smaller value, say (iteration_n = len(train_x)/batch_size+ 1)
where batch_sze=128 and use this:
if pre_index + batch_size < batch_size*iteration_n: #in place of 50000
....
Any help is appreciated.
The text was updated successfully, but these errors were encountered:
I got this error when I retrain the network with my data set.
'tensorflow.python.framework.errors_impl.InvalidArgumentError: Reshape cannot infer the missing input size for an empty tensor unless all specified input sizes are non-zero..'
I use a small data set of 525 and class_num is 6. How to modify the number of iterations and the 50,0000 value in the code? (In SE_Inception_v4.py)
I already put the new iteration value to a smaller value, say (iteration_n = len(train_x)/batch_size+ 1)
where batch_sze=128 and use this:
if pre_index + batch_size < batch_size*iteration_n: #in place of 50000
....
Any help is appreciated.
The text was updated successfully, but these errors were encountered: