首页> 开发问题 >其它问题 其它问题
ImportError: cannot import name 'BaseDataset' from 'src.dataset'
作者:小萝卜 2019-12-02 【 其它 】 浏览 1451
简介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)
相关文章
- MapReduce报错:Error: java.io.IOException: Initialization of all the collectors failed. Error in last collector was :interface javax.xml.soap.Text
- scp 文件 : /目录: Permission denied
- 关于windows10上的sourcetree突然打不开的问题的解决策略
- Maven C盘用户文件下没有.m2
- 创建Maven项目时提示web.xml is missing and <failOnMissingWebXml> is set to true错误解决方案
- Android Studio安装&&安装bug
- Java compiler level does not match the version of the installed Java project facet
- idea maven 报-source 1.5 中不支持 diamond 运算符
- 无法定位程序输入点到xxx.dll
- datagrid MAC和VPNIP显示不出来,Time显示错误的问题