Skip to content

Commit

Permalink
Merge pull request #132 from sony/feature/20241028-fix-github-actions…
Browse files Browse the repository at this point in the history
…-error

Fix github actions error
  • Loading branch information
ishihara-y authored Nov 5, 2024
2 parents f90a6c1 + d10f35b commit 8155185
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion nnabla_rl/model_trainers/v_value/v_function_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def _build_one_step_graph(
target_v = self._compute_target(training_variables)
target_v.need_grad = False

loss = 0
loss = 0.0
for v_function in models:
v_function = cast(VFunction, v_function)
v_loss = self._compute_loss(v_function, target_v, training_variables)
Expand Down

0 comments on commit 8155185

Please sign in to comment.