-
Notifications
You must be signed in to change notification settings - Fork 97
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
Can Mordecai.GeoParser() run on google colab #108
Comments
I got it running on Google Colab, check this notebook! |
Thank you |
I am facing problem to in the Geoparser section. While running the geo = Geoparser() in collab, I am having an attribute Error: module 'collections' has no attribute 'Mapping'. Can anyone please solve the issue? |
@nafis-saad I fixed the issue in the notebook |
@rjadr Thanks a lot! Its Working now. However, I didn't understand why you used os.getpid() to terminate the process forcefully. I got runtime error on the getpid method and consequently I had to avoid it to execute the code. |
@nafis-saad that was just to force the runtime to restart, but I'll remove it. |
The collab notebook is not again working, I think this part is not working (!wget https://andrewhalterman.com/files/geonames_index.tar.gz --output-file=wget_log.txt |
Looks like the download link is broken, try replacing it with https://s3.amazonaws.com/ahalterman-geo/geonames_index.tar.gz |
have you used Mordecai3. I am having an error: DocTransformerOutput' object
has no attribute 'tensors'
Can you help me on this
…On Fri, Oct 27, 2023 at 1:18 PM RJ Adriaansen ***@***.***> wrote:
Looks like the download link is broken, try replacing it with
https://s3.amazonaws.com/ahalterman-geo/geonames_index.tar.gz
—
Reply to this email directly, view it on GitHub
<#108 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXRITXWLHDS5UAGI6KFAHZLYBPUHZAVCNFSM5UW44CK2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZYGMZDKNJUHA2A>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Its not working, when i run the the geoparse it shows (tuple index out of range)... Can you fix the error and share the updated collab notebook. |
@nafis-saad I updated the original notebook, and made one for mordecai3 as well. |
Hi,
I am having issues with running Mordecai Geoparser() on my windows machine and am wondering if it could run in google colab environment?
Thanks,
Saydeh
The text was updated successfully, but these errors were encountered: