Hello everyone. I'm attempting to get up and running with Pylearn2, starting with modifying the deep_trainer script to work with the BlackBoxDataset. The unsupervised training works fine, but I'm running into an exception when it begins the supervised stage.
The exception indicates that this dataset doesn't have the expected "objective" channel, which appears to be a default. How do I go about fixing this? Does the dataset need to be modified to add this channel before it can be used? Any help would be appreciated, I'm still trying to wrap my head around how all these pieces work together.
------------------------------------------------------
Unsupervised training done! Start supervised training...
------------------------------------------------------
Traceback (most recent call last):
File "D:\Projects\Pylearn\deep_trainer.py", line 310, in <module>
main()
File "D:\Projects\Pylearn\deep_trainer.py", line 306, in main
layer_trainers[-1].main_loop()
File "C:\Python27\lib\site-packages\pylearn2-0.1dev-py2.7.egg\pylearn2\train.p
y", line 109, in main_loop
self.algorithm.setup(model=self.model, dataset=self.dataset)
File "C:\Python27\lib\site-packages\pylearn2-0.1dev-py2.7.egg\pylearn2\trainin
g_algorithms\sgd.py", line 193, in setup
extra_costs=self.monitoring_costs, mode=self.monitor_iteration_mode
File "C:\Python27\lib\site-packages\pylearn2-0.1dev-py2.7.egg\pylearn2\monitor
.py", line 660, in setup
val=cost_value, dataset=cur_dataset)
File "C:\Python27\lib\site-packages\pylearn2-0.1dev-py2.7.egg\pylearn2\monitor
.py", line 519, in add_channel
+") that uses targets, but monitoring dataset has no targets")
ValueError: Tried to create a channel (objective) that uses targets, but monitor
ing dataset has no targets
Press any key to continue . . .