-
Notifications
You must be signed in to change notification settings - Fork 298
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
Add Launch in Hub button to tutorials #316
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool! FYI, we should have torchgeo installed by default in the gpu-pytorch environment for the next release (mid January). But pip installing at runtime works for now.
"Launch in Hub" is a bit generic; does "Launch on Planetary Computer" look decent/fit? Edit: just edited the file to check this myself |
I was just imitating the behavior in PC's own notebooks: https://planetarycomputer.microsoft.com/dataset/landsat-8-c2-l2#Example-Notebook |
Yeah, in that case we're relying on the surrounding context to disambiguate what "Hub" means. I think for something like torchgeo's docs, "Open on Planetary Computer" makes a bit more sense. |
Yeah I know. It is less ambiguous on the PC website as "Hub" is defined there, whereas there are a lot of Hubs out in the wild :) |
It's pretty wide, but it's definitely the most clear. |
These will both look normal sized when we move to a better supported theme |
We overrode that, so there shouldn't be any issues with the theme. If you want to make them smaller I can change the height. |
May also want to consider Binder. Not explicitly designed for ML, and doesn't have GPUs, but could be useful. |
* Add Launch in Hub button to tutorials * Update button text * Changing language Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
Adds a "Launch in Hub" button similar to our existing "Open in Colab" button that opens a copy of the tutorial on the Planetary Computer. Note that this requires a Planetary Computer account to use.
@TomAugspurger @RitwikGupta
Closes #117