Skip to content

AttributeError: 'myUnet' object has no attribute 'load_weights'  #1

@YuyangHUsz

Description

@YuyangHUsz

When I was trying to load the trained unet weight , there is a mistake .
To the code
model0142 = myUnet(ModelInput_size)
model0142.load_weights(r'xunet_0142_128_200e_ROI1024T700V_v1.hdf5')
It shows that AttributeError: 'myUnet' object has no attribute 'load_weights' . Could you give me some advice on how to deal with it ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions