Open jzyee opened 4 years ago
I assume the error is thrown by the pooling layer. You can use variable series length by setting timesteps=None
(because the architecture is fully convolutional and recurrent), however you can't set pool_size=None
.
The following lines in DeepTemporalClustering.py throw an error:
Besides lines 55:
assert(timesteps % pool_size == 0)
Line 64:
self.latent_shape = (self.timesteps // self.pool_size, self.n_units[1])
They don't work when I assign timesteps=None
Could you show an example of how you would initiate the DTC object for a variable-length dataset
You are right, I have to take a look at this when I have time. I keep this issue open for now.
I took a quick look. Actually I was stuck with the variable timestep because of two things:
None
there, then how is it supposed to know the length of the sequence to reconstruct?In a nutshell, I think the timesteps cannot be variable in DTC. But if anyone has an idea about it, please tell!
Hi in the documentation for the DTC object, found in DeepTemporalClustering.py, it is indicated that the timesteps param can be variable. However when I instantiate as follows:
I get an error. There is an assert which brings up a typeError.
Should I be using 0 instead of None?