dcayton commited on
Commit
6695e4e
·
verified ·
1 Parent(s): 0d4fbc4

self.config.samples here

Browse files
Files changed (1) hide show
  1. nba_tracking_data_15_16.py +1 -1
nba_tracking_data_15_16.py CHANGED
@@ -101,7 +101,7 @@ class NbaTracking(datasets.GeneratorBasedBuilder):
101
  ]
102
 
103
  random.seed(9)
104
- items = random.sample(items, samples)
105
 
106
  _URLS = {}
107
  for game in items:
 
101
  ]
102
 
103
  random.seed(9)
104
+ items = random.sample(items, self.config.samples)
105
 
106
  _URLS = {}
107
  for game in items: