Skip to content

Commit

Permalink
remove convnet tdpprints
Browse files Browse the repository at this point in the history
  • Loading branch information
petered committed May 31, 2017
1 parent 9982b76 commit b091b3d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions plato/tools/convnet/convnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import theano
import theano.tensor as tt
from artemis.general.numpy_helpers import get_rng
from plato.core import symbolic, create_shared_variable, tdbprint
from plato.core import symbolic, create_shared_variable
from plato.interfaces.helpers import get_named_activation_function, get_theano_rng
from plato.interfaces.interfaces import IParameterized
from plato.tools.common.online_predictors import FeedForwardModule
Expand Down Expand Up @@ -191,9 +191,6 @@ def get_named_layer_activations(self, x, include_input = False, test_call=False)
for name, layer in self.layers.iteritems():
x = layer.test_call(x) if test_call else layer.train_call(x)
named_activations[name] = x
if isinstance(layer, ConvLayer):
tdbprint(abs(layer.w).mean(), 'Mean Magnitude of w of layer {}'.format(name))
tdbprint(abs(layer.b).mean(), 'Mean Magnitude of b of layer {}'.format(name))
return named_activations

@staticmethod
Expand Down

0 comments on commit b091b3d

Please sign in to comment.