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

Topaz training error #217

Closed
rijuaxt opened this issue Jan 8, 2025 · 5 comments
Closed

Topaz training error #217

rijuaxt opened this issue Jan 8, 2025 · 5 comments
Assignees

Comments

@rijuaxt
Copy link

rijuaxt commented Jan 8, 2025

Error in image dimension , try dim=2 or 3 .

I was using topaz for training huge dataset. after preprocessing topaz exited with the error in image dimension.
Version: latest one

However, the older version works fine for the same dataset.

@DarnellGranberry DarnellGranberry self-assigned this Jan 8, 2025
@DarnellGranberry
Copy link
Collaborator

Can you please post the error message you got, as well as your conda environment?

@rijuaxt
Copy link
Author

rijuaxt commented Jan 8, 2025

I will post here soon. I was just wondering if it’s possible to train using the old version and extract with the new Topaz extraction? I already have a trained model, but I couldn’t extract because it showed the 'long list argument' issue.

If so, could you please refer me to the command-line option where I wouldn’t have to introduce all the micrographs with '*'? I would prefer that Topaz be able to read a list of micrographs instead.

@DarnellGranberry
Copy link
Collaborator

You can list the argument filenames in a text file and read them with @filenames.txt, as described here.

Repository owner deleted a comment from von-elfen Jan 12, 2025
@DarnellGranberry
Copy link
Collaborator

Closing this for now. Let us know if you run into further issues.

@rijuaxt
Copy link
Author

rijuaxt commented Jan 13, 2025

[CPU: 298.7 MB Avail: 114.80 GB]
Traceback (most recent call last):
File "cryosparc_master/cryosparc_compute/run.py", line 129, in cryosparc_master.cryosparc_compute.run.main
File "/usr/local/cryosparc/2.0/cryosparc_worker/cryosparc_compute/jobs/topaz/run_topaz.py", line 384, in run_topaz_wrapper_train
utils.run_process(train_command)
File "/usr/local/cryosparc/2.0/cryosparc_worker/cryosparc_compute/jobs/topaz/topaz_utils.py", line 99, in run_process
assert process.returncode == 0, f"Subprocess exited with status {process.returncode} ({str_command})"
AssertionError: Subprocess exited with status 1 (/opt/topaz/conda/0.3.5/bin/topaz train --train-images

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

2 participants