Skip to content

Commit

Permalink
polish qtransformer
Browse files Browse the repository at this point in the history
  • Loading branch information
rongkunxue committed Jun 20, 2024
1 parent 6023c65 commit 7095b38
Show file tree
Hide file tree
Showing 4 changed files with 1,155 additions and 634 deletions.
2 changes: 1 addition & 1 deletion dataset/qtransformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from rich.progress import track
from torch.utils.data import DataLoader, Dataset


# just force training on 64 bit systems

assert sys.maxsize > (
Expand All @@ -33,7 +34,6 @@ def cast_tuple(t):

# replay memory dataset
class ReplayMemoryDataset(Dataset):
@beartype
def __init__(self, config):
dataset_folder = config.dataset_folder
num_timesteps = config.num_timesteps
Expand Down
Loading

0 comments on commit 7095b38

Please sign in to comment.