GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dkappe/badgyal: Simple pytorch net evaluator with Bad Gyal 8 and Mean Girl 8 net included.

BranchesTags
Open more actions menu

Latest commit

 

History

28 Commits
28 Commits

Folders and files

NameName
Last commit message
Last commit date
badgyal
badgyal
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
requirements.txt
requirements.txt
 
 
setup.py
setup.py
 
 
tests.py
tests.py
 
 

Repository files navigation

badgyal

Simple pytorch net evaluator with Bad Gyal 8 and Mean Girl 8 net included. You can install with pip like so:

pip install git+https://github.com/dkappe/badgyal.git

An example of use:

import badgyal
import chess
import torch

POS = [
    "1k1r1b2/p4P2/Q1p4r/3p3q/Pp4p1/1P2P1P1/1BP2PK1/R3R3 b - -",
    "3r1rk1/pp3qpp/2n5/1QN1pp2/3p4/P5RP/1PP2PP1/3R2K1 b - - 3 22"
]
def eval(net, board):
    policy, value = net.eval(board, softmax_temp=1.61)
    print(value)
    print(policy)
    


bg = badgyal.BGNet(cuda=True)

for p in POS:
    board = chess.Board()
    board.set_epd(p)
    eval(bg, board)

About

Simple pytorch net evaluator with Bad Gyal 8 and Mean Girl 8 net included.

Topics

chessneural-networkpytorch

Resources

Readme
GPL-3.0 license
Activity

Stars

11 stars

Watchers

2 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.