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

input must be contiguous #11

Open
yitianlian opened this issue May 28, 2022 · 2 comments
Open

input must be contiguous #11

yitianlian opened this issue May 28, 2022 · 2 comments

Comments

@yitianlian
Copy link

I never face this problem when using mmlab. Where should I add the .contiguous() function?
image

@yitianlian
Copy link
Author

If anyone can help me ? QAQ

@Annbless
Copy link
Collaborator

According to the error information, it should be fine by adding contiguous in Line 103 in single_level_roi_extractor.py, e.g.,

roi_feats_t = self.roi_layers[i](feats[i].contiguous(), rois_)

However, since there have been some modifications from our repo to your codebase, it is really hard for us to distinguish the reasons of the errors and the solutions.

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