werner-duvaud / muzero-general

MuZero
https://github.com/werner-duvaud/muzero-general/wiki/MuZero-Documentation
MIT License
2.45k stars 606 forks source link

Without Selfplay, why 1 games on a running?? #217

Open dlrlfkr11 opened 1 year ago

dlrlfkr11 commented 1 year ago

Search before asking

Description

i try to learning the muzero with my custom game

but this custom game is based on the game server that playing on the my computer

when i run the training with 1 selfgame, there have 2 running and 2 requests to my server

Is it because of reanalyze?

Additional context

No response

dlrlfkr11 commented 1 year ago

muzero.py row 215~216

    # self.test_worker = self_play.SelfPlay.options(
    #     num_cpus=0,
    #     num_gpus=num_gpus,
    # ).remote(
    #     self.checkpoint,
    #     self.Game,
    #     self.config,
    #     self.config.seed + self.config.num_workers,
    # )
    # self.test_worker.continuous_self_play.remote(
    #     self.shared_storage_worker, None, True
    # )

for disable the test playing for tensorboard

isaiah2004 commented 7 months ago

Hey could you explain what you did?