首页> 开发问题 >其它问题 其它问题
ImportError: cannot import name 'BaseDataset' from 'src.dataset'
作者:小萝卜 2019-12-02 【 其它 】 浏览 1734
简介ImportError: cannot import name 'BaseDataset' from 'src.dataset'
因为我进行了相互调用,我在父类中调用了子类。
from src.dataset import BaseDataset
class PSINSDataset(BaseDataset):
from src.main import PSINSDataset
class BaseDataset(Dataset):
很赞哦! (0)
相关文章
- Attempt to invoke interface method 'boolean java.util.List.add(java.lang.Object)' on a null object reference
- MapReduce报错:Error: java.io.IOException: Initialization of all the collectors failed. Error in last collector was :interface javax.xml.soap.Text
- idea maven 报-source 1.5 中不支持 diamond 运算符
- 报错:configure: error: no acceptable C compiler found in $PATH
- Mapreduce报错:java.lang.ClassNotFoundException: Class Mapper not found
- Namenode 没启动
- pycharm无法识别自己的文件夹的程序
- Python“Non-ASCII character 'xe5' in file”报错问题
- git中报unable to auto-detect email address
- Android Studio安装&&安装bug
