-
Notifications
You must be signed in to change notification settings - Fork 0
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
Crash after running over an entire brick #1
Comments
ok, checking that ... |
I have the same error ... I am going to rerun with temporary much shorter template arrays to go faster |
@julienguy Can we predict which spectra cause trouble and skip them in the wrapper? |
This is now fixed in the head version. |
I processed brick 4200p000 in 38 minutes on 20 cores with the original redmonster templates. |
After running without multiprocessing over brick brick-b-4200p000.fits brick-r-4200p000.fits of the BOSS quasar training sample, I get a crash at the very end, after seemingly successfully fitting over all spectra.
I can't reproduce the bug if I run only over a few spectra in this brick.
Traceback (most recent call last):
File "/Users/ngbusca/Boulot/DESI/github/desispec/bin/desi_zfind", line 8, in
zfind.main(args)
File "/Users/ngbusca/Boulot/DESI/github/desispec/py/desispec/scripts/zfind.py", line 199, in main
zff = RedMonsterZfind(**arg)
File "/Users/ngbusca/Boulot/DESI/github/desispec/py/desispec/zfind/redmonster.py", line 113, in init
self.zpicker = ZPicker(specobj, self.zfinders, self.zfitters, flags)
File "/Volumes/LyA4ToB/ngbusca/DESI/redmonster/python/redmonster/physics/zpicker2.py", line 65, in init
self.classify_obj(zfindobjs, zfitobjs, flags)
File "/Volumes/LyA4ToB/ngbusca/DESI/redmonster/python/redmonster/physics/zpicker2.py", line 140, in classify_obj
n.max(zfitobjs[itemp].chi2vals[ifiber]) /
File "/Users/ngbusca/Boulot/homebrew/lib/python2.7/site-packages/numpy/core/fromnumeric.py", line 2258, in amax
out=out, keepdims=keepdims)
File "/Users/ngbusca/Boulot/homebrew/lib/python2.7/site-packages/numpy/core/_methods.py", line 26, in _amax
return umr_maximum(a, axis, None, out, keepdims)
ValueError: zero-size array to reduction operation maximum which has no identity
The text was updated successfully, but these errors were encountered: