Hi everyone,
somehow the topaz train does not work after i update but it worked well before. it gives error messages below. I also checked other posters with similar issues. I tried split the micrographs but it still does not work. Does anyone have an idea what is potential problem?
[CPU: 222.2 MB Avail: 367.72 GB]
WARNING: no micrograph found matching image name “014178270276145150691_CP_xxx_tilt30_1648_patch_aligned_doseweighted”. Skipping it.
[CPU: 222.2 MB Avail: 367.71 GB]
WARNING: no micrograph found matching image name “014774187030274709097_xx_xxx_tilt30_0419_patch_aligned_doseweighted”. Skipping it.
[CPU: 222.2 MB Avail: 367.71 GB]
WARNING: no micrograph found matching image name “008732402471452487208_xx_xxx_tilt30_1328_patch_aligned_doseweighted”. Skipping it.
[CPU: 222.2 MB Avail: 367.70 GB]
WARNING: no micrograph found matching image name “010283681879661460872_xx_xxx_tilt30_0892_patch_aligned_doseweighted”. Skipping it.
[CPU: 222.2 MB Avail: 367.69 GB]
WARNING: no micrograph found matching image name “004999302769548460318_xx_xx_tilt30_3424_patch_aligned_doseweighted”. Skipping it.
[CPU: 222.2 MB Avail: 367.69 GB]
WARNING: no micrograph found matching image name “014297745618647049179_xxxx_tilt30_0917_patch_aligned_doseweighted”. Skipping it.
[CPU: 222.2 MB Avail: 367.68 GB]
Traceback (most recent call last):
[CPU: 222.2 MB Avail: 367.67 GB]
File “/home/xx/miniconda3/envs/topaz/bin/topaz”, line 11, in
[CPU: 222.2 MB Avail: 367.66 GB]
load_entry_point(‘topaz-em==0.2.4’, ‘console_scripts’, ‘topaz’)()
[CPU: 222.2 MB Avail: 367.66 GB]
File “/home/xx/miniconda3/envs/topaz/lib/python3.6/site-packages/topaz/main.py”, line 148, in main
[CPU: 222.2 MB Avail: 367.65 GB]
args.func(args)
[CPU: 222.2 MB Avail: 367.64 GB]
File “/home/CP/miniconda3/envs/topaz/lib/python3.6/site-packages/topaz/commands/train_test_split.py”, line 128, in main
[CPU: 222.2 MB Avail: 367.63 GB]
image_list_train = pd.DataFrame({‘image_name’: image_names_train, ‘path’: paths_train})
[CPU: 222.2 MB Avail: 367.63 GB]
File “/home/xx/miniconda3/envs/topaz/lib/python3.6/site-packages/pandas/core/frame.py”, line 468, in init
[CPU: 222.2 MB Avail: 367.62 GB]
mgr = init_dict(data, index, columns, dtype=dtype)
[CPU: 222.2 MB Avail: 367.61 GB]
File “/home/xx/miniconda3/envs/topaz/lib/python3.6/site-packages/pandas/core/internals/construction.py”, line 283, in init_dict
[CPU: 222.2 MB Avail: 367.61 GB]
return arrays_to_mgr(arrays, data_names, index, columns, dtype=dtype)
[CPU: 222.2 MB Avail: 367.60 GB]
File “/home/xx/miniconda3/envs/topaz/lib/python3.6/site-packages/pandas/core/internals/construction.py”, line 78, in arrays_to_mgr
[CPU: 222.2 MB Avail: 367.59 GB]
index = extract_index(arrays)
[CPU: 222.2 MB Avail: 367.58 GB]
File “/home/xx/miniconda3/envs/topaz/lib/python3.6/site-packages/pandas/core/internals/construction.py”, line 397, in extract_index
[CPU: 222.2 MB Avail: 367.58 GB]
raise ValueError(“arrays must all be same length”)
[CPU: 222.2 MB Avail: 367.57 GB]
ValueError: arrays must all be same length
[CPU: 222.2 MB Avail: 367.55 GB]
Traceback (most recent call last):
File “cryosparc_master/cryosparc_compute/run.py”, line 129, in cryosparc_master.cryosparc_compute.run.main
File “/home/xx/cryosparc/cryosparc_worker/cryosparc_compute/jobs/topaz/run_topaz.py”, line 332, in run_topaz_wrapper_train
utils.run_process(split_command)
File “/home/xx/cryosparc/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 (/home/xx/miniconda3/envs/topaz/bin/topaz train_test_split --number 251 --seed 229024607 --image-dir /data/zcp/xx-msp1d1-3muts/CS-sxxx-go-titlet-30/J75/preprocessed /data/zcp/xxx-msp1d1-3muts/CS-xxx-go-titlet-30/J75/topaz_parti…)