veralauee
veralauee
It already load the right model. Note that the model is firstly initialized via "vgg16.pth" where it comes up with some unexpected keys. But after the model built, it "load...
It means that you didn't load the correct model. Please make sure your path is right.
> Hi, > > I am having the same issue with your demo code test_cate_attr_predictor.py. While loading it says, the model and loaded state dict do not match exactly" unexpected...
We just update a more accurate attribute and category predictor. Please download it from [model_zoo.md](https://github.com/open-mmlab/mmfashion/blob/master/docs/MODEL_ZOO.md#category-and-attribute-predictionfine) First you need to download our re-labeled annotations(https://drive.google.com/drive/folders/19J-FY5NY7s91SiHpQQBo2ad3xjIB42iN?usp=sharing). The script for this category and attributes...
> I have cloned the repository again and download the re-labelled annotation. When I run the code: > `python3 demo/test_cate_attr_predictor.py \ --config configs/category_attribute_predict/global_predictor_vgg.py \ --checkpoint checkpoint/latest.pth ` > I get...
> Followed the same steps suggested by @veralauee . While category predictions seem to change with input image, attribute predictions are same regardless of input images Sorry, I cannot replicate...
Several issues to clarify: 1. The following code to load pretrained weights is wrong. `resnet18 = models.resnet18(pretrained=True)` Here, resnet18 is a model, not a state dict. You can not load...
The pretrained checkpoint `--checkpoint checkpoint/landmark/resnet50.pth ` you used is wrong. This is the model to do landmark prediction, not the model to do category and attribute prediction. Please download the...
Usually we think the compatibility score higher than 0.5 means compatible. Higher score means more compatible. The two sets of the demo both have 0.8+ score, meaning they are both...
Based on your error information, it seems the model uses "roi-pooling" instead of "global pooling", because of "landmark[0]". Would you plz check which config file you used when testing?