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

When loading model artifact, it couldn't find the tmp folder #359

Open
tunguyen52 opened this issue Dec 20, 2023 · 1 comment
Open

When loading model artifact, it couldn't find the tmp folder #359

tunguyen52 opened this issue Dec 20, 2023 · 1 comment

Comments

@tunguyen52
Copy link

For bugs and unexpected issues, please provide the following information, so that we could reproduce them on our system.

Environment Info

Operating System: AWS Sagemaker

RGF/FastRGF/rgf_python version: 3.12.0

Python version (for rgf_python errors): 3.10

Error Message

'FileNotFoundError: [Errno 2] No such file or directory: '/tmp/rgf/89048532-39fd-451c-a018-6b7df2790bd14.model-03'

Reproducible Example

joblib.dump(RGF_model, 'rgf_model.joblib')

then on a new notebook instance, I tried to run the following line and got an error
RGF_model = joblib.load('rgf_model.joblib')

@Andrey123qq2
Copy link

As a workaround for the above error, manually create the '/tmp/rgf/' directory.

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

No branches or pull requests

2 participants