Skip to content

FileNotFoundError: [Errno 2] No such file or directory: 'policy_p1 #15

Description

@w1767

FileNotFoundError Traceback (most recent call last)
in ()
284 # play with human
285 p1 = Player("computer", exp_rate=0)
--> 286 p1.loadPolicy("policy_p1")
287
288 p2 = HumanPlayer("human")

in loadPolicy(self, file)
244
245 def loadPolicy(self, file):
--> 246 fr = open(file, 'rb')
247 self.states_value = pickle.load(fr)
248 fr.close()

FileNotFoundError: [Errno 2] No such file or directory: 'policy_p1'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions