Open petteriTeikari opened 7 years ago
Hi @petteriTeikari, thanks for letting me know about the problem.
There was a bug in nnts.household.HouseholdGenerator
that assigned wrong (zero) output dimension for the network, probably that's why Reshape
could not infer the missing input size for an empty tensor
. Should work well now.
Please also make sure you have up-to-date keras version (I run it successfully with 2.0.2 and 2.0.3).
Apologies for late reply.
I had this problem and for me, it was due to facing a null matrix during my computation so I just add a tf.cond for empty matrix
There was a typo also on line 159 of
SOCNN.py
when trying theshared_final_weights
optionout = TimeDistributed(Dense(output_length ...
that I changed to
out = TimeDistributed(Dense(self.output_length ...
And got the training started with:
But then the following error happend then:
I guess I have to explicitly set shape for the
sig
ofsig = TimeDistributed(Activation('softmax'), name='softmax')(sig)
?