Skip to content

Commit

Permalink
Merge pull request #1259 from nathanlct:patch-1
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 659516485
Change-Id: Ia8a6b580acb873bf81a30520d509f80d73689e38
  • Loading branch information
lanctot committed Aug 5, 2024
2 parents 0bcd35c + f10eb08 commit 7ff9e28
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions open_spiel/python/pytorch/dqn.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

import collections
import math
import sys
import numpy as np
from scipy import stats
import torch
Expand All @@ -30,7 +29,7 @@
"Transition",
"info_state action reward next_info_state is_final_step legal_actions_mask")

ILLEGAL_ACTION_LOGITS_PENALTY = sys.float_info.min
ILLEGAL_ACTION_LOGITS_PENALTY = torch.finfo(torch.float).min


class SonnetLinear(nn.Module):
Expand Down

0 comments on commit 7ff9e28

Please sign in to comment.