Skip to content

Commit

Permalink
Fix a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
xlnwel committed Jul 25, 2019
1 parent 3351cd8 commit 151aef5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions basic_model/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,9 @@ def __init__(self,
super().__init__(name, args, self.graph, log_tensorboard=log_tensorboard,
log_params=log_params, device=device, reuse=reuse)

# reset variable scope for model
self.variable_scope = self.name

display_var_info(self.trainable_variables)

self.model_name = args['model_name']
Expand Down

0 comments on commit 151aef5

Please sign in to comment.