How To Do Supervised Deepbelief Training In Pybrain?
I have trouble getting the DeepBeliefTrainer to work on my data in PyBrain/Python. Since I can't find any examples other than unsupervised on how to use the deep learning in PyBrai
Solution 1:
It's because your initial network:
net = buildNetwork(*layerDims)
doesn't have a layer with the name of the visible layer in your deep belief network, which is 'visible'. So, in order to find it mapped in the initial network, you can do something like:
net.addInputModule(LinearLayer(input_dim, 'visible'))
[...]
trainer = DeepBeliefTrainer(net, dataset=dataSet)
Post a Comment for "How To Do Supervised Deepbelief Training In Pybrain?"