-
Notifications
You must be signed in to change notification settings - Fork 300
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
It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory. #77
Comments
@bozzmob sounds like you're almost there. You need both the spacy layer and the model layer (you can have up to 5 layers at a time on a single function). I suspect your problem is that you're not pulling in the model at the right directory level. Try the following in your code.
One of the above should work just fine. Let me know. |
Thank you so much, I got it to work. Basically the model loaded. But, the code as such is not working for some reason. With no errors in cloudwatch console as well. |
Ok, it actually works now. The problem was - I had less RAM allocated. Now increased it to 512MB and it works. |
Awesome! |
Closing this as it looks like the problem is solved. |
First of all, thank you so much for creating one of the most useful repos. Your time and work is highly appreciated.
Coming to the issue,
I am trying to use the latest Spacy 2.2.3 using the ARN provided-
I am getting the following error-
I did read your comment in another issue-
I am having tough times getting this to work. I referred to this blog but by using the latest ARN, but, it doesn't work. What I mean is, when I create a layer out of the model, it still throws the above error.
You have suggested to package the model as a layer, please can you give more information on it? How do we do it? Is there a layer for the model already? I checked the json, its not available.
Basically I have downloaded the en_core_web_sm-2.2.5.tar.gz from here, how do I get this to a layer in lambda so that I can access the lambda from
/opt/en_core_web_sm-2.2.5
Any advice or assistance will be highly appreciated. I can write a brief documentation of the solution which can eventually help lot more people.
The text was updated successfully, but these errors were encountered: