added the option for a deterministic run

This commit is contained in:
NM512
2023-08-16 21:46:06 +09:00
parent 68096d1f62
commit 606ec8af8c
7 changed files with 47 additions and 16 deletions

View File

@@ -5,7 +5,7 @@ import numpy as np
class Crafter:
metadata = {}
def __init__(self, task, size=(64, 64), seed=None):
def __init__(self, task, size=(64, 64), seed=0):
assert task in ("reward", "noreward")
import crafter