Skip to content

Commit

Permalink
bug fix with fc vis
Browse files Browse the repository at this point in the history
  • Loading branch information
ragav committed Feb 3, 2017
1 parent a802411 commit ac246a0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion yann/layers/fully_connected.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ def get_params (self , borrow = True, verbose = 2):
out = []

for p in self.params:
out.append(p.get_value(borrow = borrow))
try:
out.append(p.get_value(borrow = borrow))
except:
out.append(p.eval())
return out

class dropout_dot_product_layer (dot_product_layer):
Expand Down

0 comments on commit ac246a0

Please sign in to comment.