Hi Roberto,
I don’t see any obvious issue in your model definition – although I’d probably use more informative hyperpriors.
Is the error appearing when you’re trying to compile the model, or when you’re trying to sample? Also, what are the PyMC3 and Theano versions on your virtual env?