Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sph3rex committed Jul 5, 2019
1 parent eb54071 commit baab903
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile.gpu
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:3.6.8-jessie

ADD ./requirements.txt /code/
ADD ./requirements.base.txt /code/
ADD ./requirements.txt /code/

WORKDIR /code

Expand Down
2 changes: 1 addition & 1 deletion lib/RLTrader.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def optimize_params(self, trial, n_prune_evals_per_trial: int = 2, n_tests_per_e
validation_env = SubprocVecEnv([make_env(validation_provider, i) for i in range(1)])

model_params = self.optimize_agent_params(trial)
model = self.Model(self.Policy, train_env, verbose=self.model_verbose, nminibatches=1,
model = self.Model(self.PolicySub, train_env, verbose=self.model_verbose, nminibatches=1,
tensorboard_log=self.tensorboard_path, **model_params)

last_reward = -np.finfo(np.float16).max
Expand Down
2 changes: 1 addition & 1 deletion requirements.no-gpu.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-r requirements.base.yml
-r requirements.base.txt
tensorflow

0 comments on commit baab903

Please sign in to comment.