-
Notifications
You must be signed in to change notification settings - Fork 71
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
Detect non-determinism for some cases on maisi_ct_generative
bundle
#717
Comments
I will add some tests to check the determinism after fixing the issue |
Did some quick check with @dongyang0122 , it seems remove |
I checked the code. It might be the reason that A quick fix is to add |
Hi @Can-Zhao , thanks for the explain. I added |
output name is defined to has |
Hi @Can-Zhao , thanks, actually the name does not matter. If the content of two files are the same, will have same md5sum. We can get same md5sum if having |
maisi_with_controllable_anatomy_size.log attached a new log that have same md5sum cc @Can-Zhao |
I see. After the mask selection, we augmented the mask. The |
Thanks @Can-Zhao , but after multiple rounds of tests, I still meet the non-determinism issue. Could you help to double confirm if it works? |
I tested the following 4 cases:
{'body_region': ['chest'], 'anatomy_list': ['aorta'], 'output_size': [256, 256, 128], 'spacing': [1, 1, 1], 'num_output_samples': 1}
{'body_region': ['chest'], 'anatomy_list': ['left lung upper lobe'], 'output_size': [256, 256, 128], 'spacing': [1, 1, 1], 'num_output_samples': 1}
{'body_region': ['abdomen'], 'anatomy_list': ['liver'], 'controllable_anatomy_size': [['hepatic tumor', 0.3], ['liver', 0.5]], 'output_size': [256, 256, 128], 'spacing': [1, 1, 1], 'num_output_samples': 1}
{'body_region': ['abdomen'], 'anatomy_list': ['spleen'], 'output_size': [256, 256, 128], 'spacing': [1, 1, 1], 'num_output_samples': 1}
For each case, I run inference twice with
random_seed = 0
, and only case 3 produce same outputs.Hi @dongyang0122 @guopengf @Can-Zhao , could you help to confirm this issue? Thanks!
The text was updated successfully, but these errors were encountered: