models.resnet_baseline_re not found
Closed this issue · 5 comments
Hello,
I guess the resnet_baseline from CLAM was re-written but unfortunately this function is nowhere in the github repo. Could you provide it please?
Best!
Have you found this file or a solution?
@ogutsevda
I have emailed the authors and they updated the repo with this file @junjianli106 👍
The authors added a nn.Linear(1024, out_shape) after their ResNet model, which appears to be randomly initialized. Are the features extracted in this way meaningful?
model_re = nn.Sequential(
*[resnet_model, nn.Flatten(), nn.Linear(1024, out_shape)]
)
You're right, probably they aren't meaningful. Actually, the authors state in the paper that they had used KimiaNet in the feature extraction process and I asked about this in my email. They responded that they would update the repo again with the correct feature extraction code. You can reopen the issue if you want 👍
Thank you for your patient response.