首页> 开发问题 >其它问题 其它问题
ImportError: cannot import name 'BaseDataset' from 'src.dataset'
作者:小萝卜 2019-12-02 【 其它 】 浏览 1829
简介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
- TypeError: 'newline' is an invalid keyword argument for this function 错误解决
- matlab命令行双箭头消失
- GitHub 上传文件过大报错:remote: error: GH001: Large files detected.
- Java compiler level does not match the version of the installed Java project facet
- git中报unable to auto-detect email address
- clion ctrl+鼠标左键不能调到函数实现
- Android Studio安装&&安装bug
- Mapreduce报错:java.lang.ClassNotFoundException: Class Mapper not found
- Python问题:SyntaxError: Non-ASCII character '\xe2' in file
