Closed parmeshashwath closed 5 years ago
which OS are you on?
OS: Red Hat Enterprise Linux Server release 7.4 (Maipo) Below is the available memory in GB total used free shared buff/cache available Mem: 377 31 10 3 335 336 Swap: 31 0 31
Did you try to use the shared memory parameter? model.load_model('model.bin', inference_mode=True)
Yes , Tried with Shared memory parameter as well. But still no luck. The machine has a good amount of memory, not sure what is the issue here
Regards, Parmesh A +91 9731354958
On Thu, Apr 4, 2019 at 4:13 PM mpagli notifications@github.com wrote:
Did you try to use the shared memory parameter? model.load_model('model.bin', inference_mode=True)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/epfml/sent2vec/issues/69#issuecomment-479846403, or mute the thread https://github.com/notifications/unsubscribe-auth/AKjscTZl3IfRejyjfYWxQxE90MDVbGdMks5vddc8gaJpZM4cacrz .
Ok, I found the reason, will fix soon
Great Thanks for the update. Please let me know once you fix it. Thanks again
Can you pull the latest code and try again?
Yes tried and it's still the same :(. Model is not loading. any other workarounds?
You did 'pip install . --upgrade'?
Thanks this worked. Able to get the sentence embeddings.
When trying to the load the torontobooks_unigrams.bin the process is stuck and the loading is not getting completed from a long time. Is there any other config that needs to be done before loading. Code Snippet Used
import sent2vec model = sent2vec.Sent2vecModel() model.load_model(torontobooks_unigrams.bin')