Skip to content

Cannot reproduce test performance #5

Description

@gernose

Thanks for sharing this project! I followed the instruction to implement TMRNet in two-step (first to train the single resnet_lstm for LFB, the second to train the whole TMRNet), as well as the pre-processing. In training, there is always a large gap between the training and test performance. For example, in the 2nd epoch of TMRNet,

Train Loss: 0.0783 | Acc: 97.80  F1: 95.59  Recall: 95.41  Prec: 95.81  Jaccard: 95.70
Test Loss: 0.7554 | Acc: 80.52  F1: 71.25  Recall: 73.12  Prec: 71.25  Jaccard: 67.39  

the training loss is almost zero to supervise the model. After that, the test performance would further drop, due to severe over-fitting of the training set.

Also, I tried the provided pretrained pth, with the locally produced LFB, but only got accuracy of 75.13%. More metrics are as follows:

Test Loss: 1.0964 | Acc: 75.73 F1: 61.60 Recall: 63.04 Prec: 66.74 Jaccard: 60.94.

Are there any tricks to achieve the reported test performance (e.g., 89.2% accuracy for ResNet-based TMRNet)? Looking forward to your reply! Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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