Where Can I Find PreTrain model for "CrowdCounter"
SJLNNU opened this issue · comments
Hi ,
I am using test.py with (torch 1.0 python 3.5.4 ),after i changed the model path to downloaded "Pretrained_GCC.pth" .It seems this pth's state_dict mismatchs CrowdCounter. Where Can I find the right pretrain pth for CrowdCounter? or Did i miss things?Please let me know.
Weird things happened is that Everything shared in this Linkhttps://mailnwpueducn-my.sharepoint.com/personal/gjy3035_mail_nwpu_edu_cn/Documents/Forms/All.aspx?cid=63b26663-010c-4bc9-82da-7b6bd82d83a4&RootFolder=%2Fpersonal%2Fgjy3035_mail_nwpu_edu_cn%2FDocuments%2F%E8%AE%BA%E6%96%87%E5%BC%80%E6%BA%90%E6%95%B0%E6%8D%AE%2FGCC-SFCN&FolderCTID=0x012000B11760F9CD00774384C33CD380EA40D3 is Broken . Would you please share the model to my Email? NJNUSJL@gmail.com
Thank you for your time .
@Yellow-Champagne Hi ,Sorry for the misunderstanding . The PreTrain model i mean is not the 'resnet101-5d3b4d8f.pth' loaded in resSFCN.py . But the model loaded in test.py Line 36 .
And I write a test code to test 'Pretrained_GCC.pth' I downloaded form the Link in README -[Data preparation] .
——————————————————————————————
model_path='Pretrained_GCC.pth'
net = CrowdCounter()
net.load_state_dict(torch.load(model_path))
And it goes mismatch . I cant open any file i downloaded from the Link,So it must be file problem .If you have the right file please Email me .
Thank you for your time .