首页> 开发问题 >其它问题 其它问题
ImportError: cannot import name 'BaseDataset' from 'src.dataset'
作者:小萝卜 2019-12-02 【 其它 】 浏览 1832
简介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)
相关文章
- 解决:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile
- 无法定位程序输入点到xxx.dll
- windows10 onenote 显示英文 怎么办?
- clion ctrl+鼠标左键不能调到函数实现
- Android Studio安装&&安装bug
- Java compiler level does not match the version of the installed Java project facet
- 异常解决:util.NativeCodeLoader: Unable to load native-hadoop library for your platform
- Python运行语法错误:IndentationError: unindent does not match any outer indentation level
- 报错:maven:java.lang.NoClassDefFoundError: org/apache/commons/io/Charsets
- Python问题:SyntaxError: Non-ASCII character '\xe2' in file
