Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't understand with checkpoint with model combination ir right. #6

Open
minotaurdsp opened this issue Aug 8, 2022 · 0 comments
Open

Comments

@minotaurdsp
Copy link

minotaurdsp commented Aug 8, 2022

Hello can you tell model checkpoints right configuration

Im trying like this but with custom image I got empty image
model = init_detector(
config='configs/fashionformer/modanet/mask_rcnn_swin_b_modanet.py',
checkpoint='/data/GarmentQC-dataset/fashionformer_r50_3x.pth',device='cpu'
)

mmdet==2.18.0
mmcv==1.3.18
mmcv-full==1.3.8 -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.9.0/index.html
python 3.7

Also is the mmdet==2.18.0 correct version because looking from demo/image_demo.py in function show_result_pyplot() param out_file and palette is only in model version starting from 2.24.0, just thinking how to replicate your test if im installing mmdet==2.18.0 then I got error TypeError: show_result_pyplot() got an unexpected keyword argument 'palette'
if im updating mmdet to 2.24.0 I got different errors ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant