We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在Linux服务器运行时,在导入包from datasets.dataset_synapse import Synapse_dataset, RandomGenerator的时候报错。因为datasets文件夹与python自带的site-packages里的datasets重名
The text was updated successfully, but these errors were encountered:
请问怎么解决呢
Sorry, something went wrong.
在datasets文件夹下新建一个空白的__init__.py文件
如果是在Pycharm中,将该文件夹设为源文件。如果 在vscode中,在该文件夹下创建一个新的__init__.py文件即可
No branches or pull requests
在Linux服务器运行时,在导入包from datasets.dataset_synapse import Synapse_dataset, RandomGenerator的时候报错。因为datasets文件夹与python自带的site-packages里的datasets重名
The text was updated successfully, but these errors were encountered: