我是靠谱客的博主 还单身巨人,这篇文章主要介绍Empty suite 使用测试数据集失败 提示No test were found,现在分享给大家,希望可以做个参考。

准备MNIST数据集的Dataset和Dataloader过程中

警告:

DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working   from collections import Callable

Empty suite问题原因:

不可使用"test_"前后缀作为.py文件名

解决办法:修改.py文件名称"test_0101"为"test0101"即可

最后

以上就是还单身巨人最近收集整理的关于Empty suite 使用测试数据集失败 提示No test were found的全部内容,更多相关Empty内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(116)

评论列表共有 0 条评论

立即
投稿
返回
顶部