Skip to content

Commit

Permalink
Fix VALIDATION_MODE ref
Browse files Browse the repository at this point in the history
  • Loading branch information
dtaralla committed Mar 22, 2016
1 parent f22185f commit 5f14f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion General_Deep_Q_RL/environments/MG_two_storages_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def reset(self, mode):
self.production=self.production_train
self.consumption_norm=self.consumption_train_norm
self.consumption=self.consumption_train
elif mode == VALIDATION_MODE:
elif mode == MyEnv.VALIDATION_MODE:
self.production_norm=self.production_valid_norm
self.production=self.production_valid
self.consumption_norm=self.consumption_valid_norm
Expand Down

0 comments on commit 5f14f3e

Please sign in to comment.