lightvector / KataGo

GTP engine and self-play learning in Go
https://katagotraining.org/
Other
3.47k stars 563 forks source link

Run the train.py . I meet some questions. #637

Open gaoruihua111 opened 2 years ago

gaoruihua111 commented 2 years ago

Traceback (most recent call last): File "C:\Users\gaoruihua\Desktop\KataGo-master\python\train.py", line 699, in maybe_reload_training_data() File "C:\Users\gaoruihua\Desktop\KataGo-master\python\train.py", line 630, in maybe_reload_training_data last_datainfo_row = datainfo["range"][1] KeyError: 'range'

lightvector commented 2 years ago

shuffle.py is supposed to output the range of data rows used. https://github.com/lightvector/KataGo/blob/master/python/shuffle.py#L639-L644

Perhaps you are pointing to the wrong directory or something has failed that cause this not to happen, or you forgot a step. You can manually inspect this file to see what it contains and/or check your logs and/or check again how you are shuffling the data.