Skip to content
New issue

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系统上上无法导入其他文件夹的模块 #1014

Open
MirindaFrank opened this issue Jan 20, 2025 · 0 comments
Open

在linux系统上上无法导入其他文件夹的模块 #1014

MirindaFrank opened this issue Jan 20, 2025 · 0 comments

Comments

@MirindaFrank
Copy link

环境:魔塔云服务器,ubuntu20.04
描述:1. 进入models/match/kim 执行 python -u trainer.py -m config.yaml -o mode=train 报错无法找到utils包。
2. 但在我的win10系统环境下是能够执行的。
报错: root@123445:/mnt/workspace/PaddleRec/models/match/kim# python -u trainer.py -m config.yaml -o mode=train
Traceback (most recent call last):
File "trainer.py", line 29, in
from utils.utils_single import load_yaml, load_dy_model_class, get_abs_model, create_data_loader
ModuleNotFoundError: No module named 'utils.utils_single'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant