-
Notifications
You must be signed in to change notification settings - Fork 17
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
import 이슈 #33
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
object_detection 디렉토리의 py파일에서의 import 이슈가 있습니다.
from object_detection import trainer
와 같이 같은 위치의 파일도 모두 상위 디렉토리를 기준으로 path가 되어 있습니다.
이에 따로 상위 디렉토리의 path를 지정해주지 않으면 import error가 발생하게 됩니다.
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
와 같이 sys.path에 추가하며 문제를 해결하거나 PYTHONPATH에 추가하는 설명이 포함되면 좋을 것 같습니다.
The text was updated successfully, but these errors were encountered: