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

Feature extraction demo (with attributes) not working ... ValueError: not enough values to unpack (expected 3, got 2) #25

Open
ig-perez opened this issue Feb 11, 2022 · 1 comment

Comments

@ig-perez
Copy link

Hi,

Thanks for sharing your job. I'm interested in using this approach to extract features with attributes. I have installed Detectron's 2 v0.1.1 (around March 2020), PyTorch1.4 and I'm using faster_rcnn_R_101_C4_attr_caffemaxpool.yaml configuration file with http://nlp.cs.unc.edu/models/faster_rcnn_from_caffe_attr.pkl but I got above error when trying to run the demo.

I don't understand why predictor.model.roi_heads.box_predictor(feature_pooled) is returning a tuple of 2 tensors. It seems the pred_attr_logits are not returned.

Sorry if I'm missing some basic point. I'm new on the Computer Vision domain.

If interested please see related Colab Notebook here

Thanks!

@skylie-xtj
Copy link

Hi, have you solved it? I encountered the same question

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

2 participants