Deep picker problem

Hi All,

Recently gave the deep picker a go but immediately ran into an error:
Traceback (most recent call last):
File “cryosparc2_worker/cryosparc2_compute/run.py”, line 72, in cryosparc2_compute.run.main
File “cryosparc2_compute/jobs/jobregister.py”, line 333, in get_run_function
modname = job_types_modules[str(job_type)][‘run_module’]
KeyError: ‘deep_picker_train’

Any ideas?
Omid

Hi Omid,

Sometimes new job types aren’t correctly recognized after an upgrade.

Try ‘cryosparcm restart’ followed by ‘ cryosparcm cli “refresh_job_types()”’

Cheers
Oli

Hi Oli,

Thanks for the quick response. All other jobs run fine including the Topaz picker. Just the deep picker seem to give me this error.

Best,
Omid

Hi Omid

that makes sense though - Topaz was present in 2.15, deep picker is new in 2.16/3.0 - try the command I posted and see if it fixes the problem

Cheers
Oli

Ah okay. Just waiting for a run to finish. Will give it a go and let know. Thanks again

Hi Oli,

Tried to command above. Still go the same issue. Thanks though.

Best,
Omid

hmmm that’s weird - did the command seem to work? it refreshed the job types? otherwise I’m at a loss, because the error you posted indicates it cannot locate that particular job type

Yeah, maybe something went wrong during the update. I am getting errors all over the place that are strange. Will re-install and see what happens.

Thanks again for you help Oli! Stay safe

Hi Oli,
You were spot on. Was an install issue. Had to do a fresh install and everything including the deep picker is working. Thanks a ton

2 Likes