Git Product home page Git Product logo

Comments (2)

lightvector avatar lightvector commented on August 14, 2024 1

Thanks for reporting, yeah this is an ugly conflict between the neural net deduplication code and the parameter indexing code where neither part was written with attention to the other. It applies to parameters that are tied to the neural net configuration and layout and such, but shouldn't affect parameters relating to the search. (all the ones handled by this function https://github.com/lightvector/KataGo/blob/master/cpp/program/setup.cpp#L61)

Do you need a workaround? I think you can work around it, by, specifically for those parameters, treating the indices as indices for the deduplicated nnModelFile list, e.g. useNHWC{x} indexes in the list [/katago-models/kata1-b6c96-s45189632-d6589032.txt.gz, /katago-models/kata1-b6c96-s175395328-d26788732.txt.gz]. If you happen to need more than one instance of the same model but with different settings for these values, you can copy the model file on disk to a new name (e.g. /katago-models/kata1-b6c96-s45189632-d6589032-copy.txt.gz) so that it remains separate after deduplication.

Or of course, as I know you've already been modifying code, feel free to hack in a workaround for yourself in the code rather than contorting the config, or even submit a fix if you already have a fix.

from katago.

tomtseng avatar tomtseng commented on August 14, 2024

Yeah I worked around it by using deduplicated indices in the config file. I didn't think about whether it's easy to write a code fix but figured I would report the issue since I was confused by it and had debugged it already

from katago.

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.