Closed combstraight closed 5 years ago
I have solved the problem by simply copy and pasting the exact code from the Jupyter notebook hosted on the github instead of manually writing it out on my notebook. Still a curious error. I will keep this issue open for 24 hours to invite any best guesses for the error.
@combstraight bro you misspelled randiNt
np.random.randint
I have received your E-mail——Steven Lee
Hello,
I am currently getting the error:
AttributeError: module 'numpy.random' has no attribute 'randit'
when runningmodel.fit_generator()
. However, thenumpy.random.randit()
works fine when we callgenerator()
directly.I have run
pip3 install numpy
as well aspython3 -m pip install numpy
to make sure numpy is update.I am currently running a jupyter notebook on a Ubuntu 16.04 machine.