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
main 分支 (mmpretrain 版本)
我按照文档,用下列代码加载Spark预训练权重。
from mmpretrain import get_model model = get_model('spark_sparse-resnet50_800e_in1k', pretrained=True)
代码报错,提示了以下错误。
downsample_raito = H // SparseHelper._cur_active.shape[-1] AttributeError: 'NoneType' object has no attribute 'shape'
python xxx.py
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
分支
main 分支 (mmpretrain 版本)
描述该错误
我按照文档,用下列代码加载Spark预训练权重。
代码报错,提示了以下错误。
环境信息
python xxx.py
其他信息
No response
The text was updated successfully, but these errors were encountered: