pyhanabi/tools/parse_handshake.py [136:152]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    context.start()
    while replay_buffer.size() < num_game:
        time.sleep(0.2)

    context.pause()

    # remove extra data
    for _ in range(2):
        data, unif = replay_buffer.sample(10, "cuda:0")
        replay_buffer.update_priority(unif.detach().cpu())
        time.sleep(0.2)

    print("dataset size:", replay_buffer.size())
    scores = []
    game_length = []
    for g in games:
        s = g.last_episode_score()
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



pyhanabi/tools/parse_handshake.py [272:289]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    context.start()
    while replay_buffer.size() < num_game:
        # print("collecting data from replay buffer:", replay_buffer.size())
        time.sleep(0.2)

    context.pause()

    # remove extra data
    for _ in range(2):
        data, unif = replay_buffer.sample(10, "cuda:0")
        replay_buffer.update_priority(unif.detach().cpu())
        time.sleep(0.2)

    print("dataset size:", replay_buffer.size())
    scores = []
    game_length = []
    for g in games:
        s = g.last_episode_score()
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



