leela-zero / leela-zero-server

Server side code of the Leela Zero project
GNU Affero General Public License v3.0
67 stars 41 forks source link

How to extport training data from Mongo DB? #236

Open leelazero001 opened 3 years ago

leelazero001 commented 3 years ago

I have run the lz-server now, but I don't know how to extract the data stored in the mongo DB.

web mongodb

roy7 commented 3 years ago

@gcp Did you have a script or shell command you used to dump all of the SGF files/games for archive purposes?

roy7 commented 3 years ago

Oh right, training data. I don't know if a script for that is in our github at all. All training was done locally by gcp on his machine(s). I don't think SAI has a script in their repo for that either though but I'll ask on Discord.

roy7 commented 3 years ago

Ah ha, are you looking for this?

https://github.com/leela-zero/leela-zero/tree/next/training/tf/dumper

leelazero001 commented 3 years ago

Ah ha, are you looking for this?

https://github.com/leela-zero/leela-zero/tree/next/training/tf/dumper

Oh, it looks like it is, I almost ignored it. But I don't know how to use it yet.