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

Failed to get the home directory when checking model path. #12

Open
ham16 opened this issue Mar 21, 2024 · 1 comment
Open

Failed to get the home directory when checking model path. #12

ham16 opened this issue Mar 21, 2024 · 1 comment

Comments

@ham16
Copy link

ham16 commented Mar 21, 2024

Unable to load model!
7DD10BD7-849E-4846-882E-8DD43633EB64

@glenn-jocher
Copy link
Member

@ham16 hello! 😊 It looks like you're encountering an issue with loading the model due to a problem with obtaining the home directory path. This usually happens due to environmental or permissions issues.

To quickly work around this, you can specify an absolute path to your model. If you're using Python, it looks something like this:

model = torch.load('/absolute/path/to/your/model')

Replace /absolute/path/to/your/model with the actual path where your model is stored. This should help bypass the issue with the home directory.

For more detailed help and troubleshooting, please refer to our documentation over at https://docs.ultralytics.com.

If the problem persists, don't hesitate to provide more details here. The community and we are here to help! 🚀

Stay amazing,
Glenn

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

2 participants