Update preprocess.py
gen.next() doesn't exist anymore, we will have to change it to gen.__next__() for 3.0 python version and above.
@@ -23,7 +23,7 @@ from trainer import model
if __name__=='__main__':
gen = model.generator_input(['adult.data.csv'], chunk_size=5000)
- sample = gen.next()
+ sample = gen.__next__()
input_sample = {}
