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

Do you still have problems with your own trained pickle files? #59

Open
liaochuanlin opened this issue Sep 25, 2023 · 1 comment
Open

Comments

@liaochuanlin
Copy link

using the following model files: ['/home/lcl/unetr_plus_plus/unetr_pp/evaluation/unetr_pp_tumor_checkpoint/unetr_pp/3d_fullres/Task003_tumor/unetr_pp_trainer_tumor__unetr_pp_Plansv2.1/fold_0/model_final_checkpoint.model']
starting preprocessing generator
starting prediction...
Traceback (most recent call last):
File "/home/lcl/unetr_plus_plus/unetr_pp/inference/predict_simple.py", line 245, in
main()
File "/home/lcl/unetr_plus_plus/unetr_pp/inference/predict_simple.py", line 237, in main
predict_from_folder(model_folder_name, input_folder, output_folder, folds, save_npz, num_threads_preprocessing,
File "/home/lcl/unetr_plus_plus/unetr_pp/inference/predict.py", line 633, in predict_from_folder
return predict_cases(model, list_of_lists[part_id::num_parts], output_files[part_id::num_parts], folds,
File "/home/lcl/unetr_plus_plus/unetr_pp/inference/predict.py", line 206, in predict_cases
for preprocessed in preprocessing:
File "/home/lcl/unetr_plus_plus/unetr_pp/inference/predict.py", line 102, in preprocess_multithreaded
assert isinstance(trainer, Trainer_acdc) or isinstance(trainer, Trainer_synapse)
AssertionError

@shenggebiya
Copy link

I'm also having this issue

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