Hi!
Great post about auto encoder!
I had this issue when trying to run the code in ipython note book:
(BTW, I'm pretty new to python and libraries you used so the error might be a result of fault installation)
c:\anaconda\lib\lasagne-master\lasagne\init.py:86: UserWarning: The uniform initializer no longer uses Glorot et al.'s approach to determine the bounds, but defaults to the range (-0.01, 0.01) instead. Please use the new GlorotUniform initializer to get the old behavior. GlorotUniform is now the default for all layers.
warnings.warn("The uniform initializer no longer uses Glorot et al.'s "
TypeError Traceback (most recent call last)
in ()
39 verbose=1,
40 )
---> 41 ae.fit(X_train, X_out)
C:\Anaconda\lib\site-packages\nolearn\lasagne.pyc in fit(self, X, y)
136 out = getattr(self, '_output_layer', None)
137 if out is None:
--> 138 out = self._output_layer = self.initialize_layers()
139 if self.verbose:
140 self._print_layer_info(self.get_all_layers())
C:\Anaconda\lib\site-packages\nolearn\lasagne.pyc in initialize_layers(self, layers)
367 for (layer_name, layer_factory) in self.layers[1:]:
368 layer_params = self._get_params_for(layer_name)
--> 369 layer = layer_factory(layer, **layer_params)
370
371 self._output_layer = layer
TypeError: init() takes at least 3 arguments (2 given)
Hi!
Great post about auto encoder!
I had this issue when trying to run the code in ipython note book:
(BTW, I'm pretty new to python and libraries you used so the error might be a result of fault installation)
c:\anaconda\lib\lasagne-master\lasagne\init.py:86: UserWarning: The uniform initializer no longer uses Glorot et al.'s approach to determine the bounds, but defaults to the range (-0.01, 0.01) instead. Please use the new GlorotUniform initializer to get the old behavior. GlorotUniform is now the default for all layers.
warnings.warn("The uniform initializer no longer uses Glorot et al.'s "
TypeError Traceback (most recent call last)
in ()
39 verbose=1,
40 )
---> 41 ae.fit(X_train, X_out)
C:\Anaconda\lib\site-packages\nolearn\lasagne.pyc in fit(self, X, y)
136 out = getattr(self, '_output_layer', None)
137 if out is None:
--> 138 out = self._output_layer = self.initialize_layers()
139 if self.verbose:
140 self._print_layer_info(self.get_all_layers())
C:\Anaconda\lib\site-packages\nolearn\lasagne.pyc in initialize_layers(self, layers)
367 for (layer_name, layer_factory) in self.layers[1:]:
368 layer_params = self._get_params_for(layer_name)
--> 369 layer = layer_factory(layer, **layer_params)
370
371 self._output_layer = layer
TypeError: init() takes at least 3 arguments (2 given)