You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 22, 2020. It is now read-only.
Hi,
I tried to fetch some game data, using the given code.
from betago.processor import SevenPlaneProcessor
processor = SevenPlaneProcessor()
input_channels = processor.num_planes
X, y = processor.load_go_data(num_samples=1000)
However, the program returned "total number of games used: 0", and then raised this error:
Traceback (most recent call last):
File "/home/hung/Desktop/test.py", line 6, in <module>
X, y = processor.load_go_data(num_samples=1000)
File "/home/hung/tensorflow/local/lib/python2.7/site-packages/betago/dataloader/base_processor.py", line 123, in load_go_data
sampler = Sampler(data_dir=self.data_dir)
File "/home/hung/tensorflow/local/lib/python2.7/site-packages/betago/dataloader/sampling.py", line 24, in __init__
self.compute_test_samples()
File "/home/hung/tensorflow/local/lib/python2.7/site-packages/betago/dataloader/sampling.py", line 74, in compute_test_samples
test_games = self.draw_samples(self.num_test_games)
File "/home/hung/tensorflow/local/lib/python2.7/site-packages/betago/dataloader/sampling.py", line 45, in draw_samples
sample = random.choice(available_games)
File "/usr/lib/python2.7/random.py", line 275, in choice
return seq[int(self.random() * len(seq))] # raises IndexError if seq is empty
IndexError: list index out of range
Please help!
The text was updated successfully, but these errors were encountered:
Hi,
I tried to fetch some game data, using the given code.
However, the program returned "total number of games used: 0", and then raised this error:
Please help!
The text was updated successfully, but these errors were encountered: