Hi Raff
I followed your instructions to test your pre-trained model as below.
from MalConvGCT_nocat import MalConvGCT
mlgct = MalConvGCT(channels=256, window_size=256, stride=64,)
x = torch.load("malconvGCT_nocat.checkpoint")
mlgct.load_state_dict(x['model_state_dict'], strict=False)
I got a bug:
_IncompatibleKeys(missing_keys=[], unexpected_keys=['convs_1.0.weight', 'convs_1.0.bias', 'convs_atn.0.weight', 'convs_atn.0.bias'])
It seems there are something wrong and mismatch.
Thanks