python - Jupyter notebook freezing on a specific line of code -
the code on own works fine (the exact same thing did happen, although not frequently), once threw entire code in giant loop, seems on second or third iteration, gets stuck. interrupt kernel , line on it's stuck is:
gsigns[k] = np.sign((weights[0] * npoints[k].x) + (weights[1] * npoints[k].y))
gsigns array filled zeros, , npoints numpy array. idea how around this?
Comments
Post a Comment