Skip to content

IsoNet predict fail #60

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

Open
yijianSU22 opened this issue Jul 18, 2024 · 0 comments
Open

IsoNet predict fail #60

yijianSU22 opened this issue Jul 18, 2024 · 0 comments

Comments

@yijianSU22
Copy link

When I run isonet.py predict tomoset.star demo_results/model_iter30.h5 --gpuID 0,1 --cube_size 48 --crop_size 64, I got an error.
微信图片_20240718103209

And then I tried adding the following to the start of isonet.py.
'''
physical_devices = tf.config.experimental.list_physical_devices('GPU')
assert len(physical_devices) > 0, "Not enough GPU hardware devices available"
for gpu in physical_devices:
tf.config.experimental.set_memory_growth(gpu, True)
'''
The previous error has been solved and the prediction can be made, but new problems have appeared and the predicted result is not accurate, the error and result as follow:
微信图片_20240718104011

predict result:
微信图片_20240718104146

I have checked the intermediate result of the training and it is normal. So why ? can anyone help solve this problem?

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

1 participant