We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
你好!我出现了如题目中的问题,我的版本是CUDA=11.1 , pytoch=1.8.1,python=3.7, 我使用的是自己的数据集,只有一个类别,然后我按照detectron2 中的注册数据集进行了注册,并且能够在detectron2中运行,但是在这里面运行会出现上面这个错误,请问有什么办法吗
The text was updated successfully, but these errors were encountered:
你好,我也遇到了这个问题,请问你解决了吗?
Sorry, something went wrong.
+1+1请问有好的解决办法吗
Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds" failed.我的具体错误是索引超出了张量的有效范围,请问这块具体是哪个位置出错了
index >= -sizes[i] && index < sizes[i] && "index out of bounds"
label.fill_(-1) pos_idx, neg_idx = subsample_labels( label, self.batch_size_per_image, self.positive_fraction, 0 ) label.scatter_(0, pos_idx, 1) label.scatter_(0, neg_idx, 0) return label
修改代码如上 /home/lcq/anaconda3/envs/opendet2022/lib/python3.8/site-packages/detectron2/modeling/proposal_generator/rpn.py
No branches or pull requests
你好!我出现了如题目中的问题,我的版本是CUDA=11.1 , pytoch=1.8.1,python=3.7,
我使用的是自己的数据集,只有一个类别,然后我按照detectron2 中的注册数据集进行了注册,并且能够在detectron2中运行,但是在这里面运行会出现上面这个错误,请问有什么办法吗
The text was updated successfully, but these errors were encountered: