TypeError: Expected ‘Iterator‘ as the return annotation for __iter__ of ExperienceSourceDataset
使用pl_bolts时产生错误TypeError: Expected 'Iterator' as the return annotation for __iter__ of ExperienceSourceDataset, but found typing.Iterable,从该源更新安装pip install git+https://github.com/PytorchLightning/lig
·
问题:
使用pl_bolts时产生错误
TypeError: Expected 'Iterator' as the return annotation for __iter__ of ExperienceSourceDataset, but found typing.Iterable
解决方案:
从该源更新安装
pip install git+https://github.com/PytorchLightning/lightning-bolts.git@master --upgrade
更多推荐
所有评论(0)