Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Correction mac usable #137

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion poker_ai/ai/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

import joblib

manager = mp.Manager()
if __name__ == '__main__':
manager = mp.Manager()


class Agent:
Expand Down
3 changes: 2 additions & 1 deletion poker_ai/ai/multiprocess/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
from poker_ai.ai.multiprocess.worker import Worker

log = logging.getLogger("sync.server")
manager = mp.Manager()

if __name__ == '__main__':
manager = mp.Manager()

class Server:
"""Server class to manage all workers optimising CFR algorithm."""
Expand Down