Skip to content

IsoNet predict fail #60

@xiaofengSu00

Description

@xiaofengSu00

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions