Closed chenluda closed 1 year ago
Hi @chenluda,
Thank you for showing interest in our project. And I appreciate your helpful suggestions for our project.
epoch_450.pth
file is not a beta version. This checkpoint was used in another project, so you cannot load its weights using this code.Thank you for your suggestions regarding the store_dict
.
I encountered a minor issue when running your code: the shape of the generated label does not match the original image. Here are the details: I used the
epoch_450.pth
file provided by you (seems like a beta version :>), and tested it on a private dataset.The shape of my original image is [64, 368, 576], while the shape of the generated label is [127, 171, 267]. They appear like this in 3D Slicer:
I'm wondering if this is due to my operation or if it's a bug?
In addition, regarding lines 233-241 in
test.py:
The key in
store_dict
will have an additional 'backbone.' ,while the key inload_dict
seem to have an additional 'module.' due to the use ofnn.DataParallel
during training and do not have a 'backbone.'.In this case, the above code may not work properly.
You can directly use: