Git Product home page Git Product logo

Comments (9)

amj avatar amj commented on July 19, 2024 1

Hmm, it looks like our evaluation.py code didn't get updated when we made our change to use virtual losses. Instead of doing multi-game parallelization, we should rewrite this to just play one game at a time for N games.

Thanks for the bug report!

from minigo.

artemispax avatar artemispax commented on July 19, 2024

I'll take a look. thanks @weedwind

from minigo.

weedwind avatar weedwind commented on July 19, 2024

Hi, amj,

Thank you very much for your reply. I want to take another way to let my 2 models to play against each other. My script is:

#!/bin/bash

BLACK="python3 main.py gtp -l models/000000-bootstrap"
WHITE="python3 main.py gtp -l models/000001-model"
TWOGTP="gogui-twogtp -black "$BLACK" -white "$WHITE" -games 10
-size 9 -alternate -sgffile gnugo"
gogui -size 9 -program "$TWOGTP" -computer-both -auto

However, it says "The command genmove b sent to the Go program failed." Does that mean I can not use 2 of my own models in gogui?

Thank you so much.

from minigo.

amj avatar amj commented on July 19, 2024

@weedwind it looks like gogui is suppressing the failure message from the gtp program playing black, and i'm not sure what you have to do to get it to display them. If i had to guess, i'd say you'd need to look in gogui for the console output, which might provide additional information about what happened.

from minigo.

weedwind avatar weedwind commented on July 19, 2024

It looks like it's a GPU issue. When I ran the script above, the two models made GPU out of memory

from minigo.

amj avatar amj commented on July 19, 2024

interesting! have you tried it with the change from this commit?

from minigo.

weedwind avatar weedwind commented on July 19, 2024

@amj I just tried, it worked. Thank you very much.

from minigo.

brilee avatar brilee commented on July 19, 2024

I believe this is fixed with #111

from minigo.

amj avatar amj commented on July 19, 2024

Yes, fixed in #111 ! @weedwind if you'd like to try the evaluation program directly, something like
python main.py evaluate /path/to/model1 path/to/model2 --readouts 100 --games 8 should work

from minigo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.