coursera-Deep-Learning-Specialization icon indicating copy to clipboard operation
coursera-Deep-Learning-Specialization copied to clipboard

Not an issue with this code, but sort of compatibility issues with python2.

Open ghost opened this issue 6 years ago • 0 comments

hi, i was trying to do this assignment in python2, but it has got me stuck in a very nasty error. the error is in the 'model()' method of the code and specifically the line which calls the random_mini_batches() method of the tf_util.py file. the error gets propagated to the 'for' block of the 'random_mini_batches()' method. the error states that I am trying to pass a float instead of a range() integer end argument. would be really grateful if you could help.

ghost avatar Sep 21 '18 15:09 ghost