Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to train: 'Exception: Arrays are not less-ordered x and y nan location mismatch' #96

Open
va82 opened this issue Dec 5, 2023 · 0 comments

Comments

@va82
Copy link

va82 commented Dec 5, 2023

Hello,

I am trying to train the code per the instructions, but unfortunately, I receive the following error. Not sure what might be causing this.
I appreciate any help.

`Epoch 1/10
/tmp/ipykernel_47/718750685.py:101: RuntimeWarning: overflow encountered in exp
w1 = np.exp(tw.astype(np.float64)) * w
/tmp/ipykernel_47/718750685.py:102: RuntimeWarning: overflow encountered in exp
h1 = np.exp(th.astype(np.float64)) * h
/tmp/ipykernel_47/1390609568.py:72: RuntimeWarning: invalid value encountered in add
A[2, :, :, curr_layer] += A[0, :, :, curr_layer]
/tmp/ipykernel_47/1390609568.py:73: RuntimeWarning: invalid value encountered in add
A[3, :, :, curr_layer] += A[1, :, :, curr_layer]
Exception:
Arrays are not less-ordered

x and y nan location mismatch:
x: array([ 0., 0., 0., ..., 11., 12., 13.])
y: array([ 2., 3., 4., ..., 24., 24., 24.])
Exception:
Arrays are not less-ordered

x and y nan location mismatch:
x: array([ 0., 0., 0., ..., 19., 20., 21.])
y: array([ 2., 3., 4., ..., 27., 27., 27.])
Exception:
Arrays are not less-ordered

x and y nan location mismatch:
x: array([0., 0., 0., ..., 0., 0., 0.])
y: array([17., 17., 17., ..., nan, nan, 17.])
Exception:
Arrays are not less-ordered

x and y nan location mismatch:
x: array([ 0., 0., 0., ..., 9., 10., 11.])
y: array([17., 17., 2., ..., 17., 17., 17.])
Exception:
Arrays are not less-ordered

x and y nan location mismatch:
x: array([0., 0., 0., ..., 0., 0., 0.])
y: array([nan, nan, nan, ..., nan, nan, nan])
Exception:
Arrays are not less-ordered

x and y nan location mismatch:
x: array([0., 0., 0., ..., 0., 0., 0.])
y: array([nan, nan, nan, ..., nan, nan, nan])
Exception:
Arrays are not less-ordered

x and y nan location mismatch:
x: array([ 0., -0., 1., ..., 0., 0., 0.])
y: array([ 2., 3., 4., ..., nan, nan, nan])
Exception:
Arrays are not less-ordered

x and y nan location mismatch:
x: array([ 0., -0., 1., ..., 0., 0., 0.])
y: array([ 2., 3., 4., ..., nan, nan, nan])
Exception:
Arrays are not less-ordered

x and y nan location mismatch:
x: array([0., 0., 0., ..., 0., 0., 0.])
y: array([nan, nan, nan, ..., nan, nan, nan])
Exception:
Arrays are not less-ordered

x and y nan location mismatch:
x: array([0., 0., 0., ..., 0., 0., 0.])
y: array([nan, nan, nan, ..., nan, nan, nan])
Exception:
Arrays are not less-ordered

x and y nan location mismatch:
x: array([ 0., -0., 1., ..., 0., 0., 0.])
y: array([ 2., 3., 4., ..., nan, nan, nan])
Exception:
Arrays are not less-ordered

x and y nan location mismatch:
x: array([0., 0., 0., ..., 0., 0., 0.])
y: array([nan, nan, nan, ..., nan, nan, nan])
Exception:
Arrays are not less-ordered

x and y nan location mismatch:
x: array([0., 0., 0., ..., 0., 0., 0.])
y: array([nan, nan, nan, ..., nan, nan, nan])
Exception:
Arrays are not less-ordered

x and y nan location mismatch:
x: array([0., 0., 0., ..., 0., 0., 0.])
y: array([nan, nan, nan, ..., nan, nan, nan])
Exception:
Arrays are not less-ordered

x and y nan location mismatch:
x: array([0., 0., 0., ..., 0., 0., 0.])
y: array([nan, nan, nan, ..., nan, nan, nan])
Exception:
Arrays are not less-ordered`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant