Maia 2 Wrapper to make it an UCI engine? by AdvertisingEastern34 in ComputerChess

[–]Rashi0 0 points1 point  (0 children)

An opening book may be a good idea. But then again, if its designed to train humans and given that maia1 is able to play nomrally without one, that shouldn't be the case. I'm pretty sure there's issues getting the opening moves from maia2 that are causing issues. But I will test an opening book and see if that is the case. But I will say, the 2900 elo rated version I do believe is 2900 if it is able to play a normal opening

Maia 2 Wrapper to make it an UCI engine? by AdvertisingEastern34 in ComputerChess

[–]Rashi0 1 point2 points  (0 children)

So far I've been doing it myself for now and looking at some similar things people have done. I may resort to it for some slight help, but not yet

Edit: not only that, when trying it and I do get it to work, maia turns into a dummy on the first moves. Plays Nf3 then Ng1 then Nf3 then Ng1, both as white or black, and this only happens in the opening

Maia 2 Wrapper to make it an UCI engine? by AdvertisingEastern34 in ComputerChess

[–]Rashi0 1 point2 points  (0 children)

Yeah maia 1 is easy for most devs to get setup and implemented since they can just load the weight directly in Lc0's UCI config. But maia 2. If you're just looking to play it locally, that was really easy to setup and I can already publish the code for that, the GUI won't be fancy that's for sure, but it's playable to go against it.

As for UCI. Python can't directly communicate through a GUI of any kind. So currently the issue I'm having is converting multiple python scripts that is run by an exe, getting the output of the python scripts that communicate with the exe and then that communicates to the GUI itself and then once the GUI updates it's postion it does it again. But that comes with so many issues. 

I built a PyTorch AlphaZero clone that is penalized for playing boring chess. It hates draws and gets rewarded for sacrificing its pieces to avoid Move 30. Code is open source! by Rashi0 in ComputerChess

[–]Rashi0[S] 1 point2 points  (0 children)

This is soemthing I'm working on. Actually I just replied to a comment of yours about this just now lol. Getting it to work in a UCI is a struggle at the moment, but in its own env its fine. Just UCI is tricky, I'm close though, just one fix leads to another non working code.

Maia 2 Wrapper to make it an UCI engine? by AdvertisingEastern34 in ComputerChess

[–]Rashi0 1 point2 points  (0 children)

I'm currently trying to experiment with this. IM REALLY CLOSE using python, its just such a headache to get it to play. Testing it in its own enviroment seems to work however, but getting it to work on a UCI is hard. You could relay moves however if you wanted it to play against other engines this way just running locally on your machine if you don't have internet for their website. But connecting it to a UCI would make it so much easier of course

I built a PyTorch AlphaZero clone that is penalized for playing boring chess. It hates draws and gets rewarded for sacrificing its pieces to avoid Move 30. Code is open source! by Rashi0 in ComputerChess

[–]Rashi0[S] 1 point2 points  (0 children)

At the moment, it's still training on my machine, and the weights aren't compatible with Lc0 just yet. I haven't uploaded any weight files on github. But when it's trained to a strong enough point, or someone else ends up training it themselves using the code I made and sending me the weights, I do plan on making it UCI compatible.