2D Classification: ValueError: index is out of bounds for array

Hi, I’m also getting the same error here. 2D classification constantly gives error: File “cryosparc_master/cryosparc_compute/engine/newengine.py”, line 1619, in cryosparc_master.cryosparc_compute.engine.newengine.EngineThread.find_best_pose_shift_class
File “<array_function internals>”, line 5, in unravel_index
ValueError: index -4194304 is out of bounds for array with size 336. This is 2D jobs on Reference based Motion corrected particles. Any help is appreicated!

@hgxy15 We are not sure what is causing this issue. Another user linked a similar error to a faulty RAM module: Out of bounds error, 4.2.1CS, 2D, 2080TI - #3 by mulik52.

Hi @wtempel I was able to identify the problem following your previous suggestions. The error originated from a particle with NAN values. Thanks for the help

1 Like

As of CryoSPARC v4.5, the error message when NaN particle values are encountered will be clearer (it will directly state that NaN values were encountered)

1 Like