-
Notifications
You must be signed in to change notification settings - Fork 12
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
problem with relative imports and missing files #2
Comments
This issue has been resolved with a new version v1.1 released. |
This still seems to be an issue. I keep on getting the same error as tfriedel. |
exactly as Ham-png said, I encountered the same error. |
我现在运行train.py,也是出现包未导入的情况,改了绝对路径,但是还是提示包未导入。 |
This issue has been resolved in v1.2. Thank you, everyone! |
There always exists the problem of circular import. May I ask the author why when I perform reproduction on the Windows system, I have replaced all the relative references in the code with absolute applications, and there always appears the error report of circular import. Is this due to the reason of my system? Thank you. |
I have downloaded versions 1.1 and 1.2, and the problem of circular import still exists. |
I haven't found there are two or more modules mutually depending on each other. Could you point them out specifically, please? |
用Windows系统的话确实在模块导入方面有很多问题,尤其是import有关的大部分都要改一遍 |
datasets文件里的.yaml文件是不是也要改路径 |
me too ! |
I try to run the train script:
And get this error:
I tried replacing all relative imports with absolute imports and also setting the PYTHONPATH to the project dir or running the script as a module. However I run into more and more problems. E.g. this one:
If I search the source for ClassificationTrainer it's nowhere to be found. I think you may have missed some parts of the source.
They would likely be available in the original yolov8 source, however since this is probably on a different version I was hesitant to grab it from there.
The text was updated successfully, but these errors were encountered: