-
Notifications
You must be signed in to change notification settings - Fork 12
Add quickstart for the VCP #343
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
Conversation
| # %% | ||
| # Validate installation | ||
| # !viscy --help | ||
|
|
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.
| ### Download example data and model checkpoint | |
| Estimated download time: XX |
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.
@edyoshikun FYI this step is taking a long time... I wasn't able to run it on Colab's free tier (ran out of disk space). Trying on Colab Enterprise
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.
Addressed in 3a71560
| "\"\"\"\n", | ||
| "Setup\n", | ||
| "\n", | ||
| "The commands below will install the required packages and download the example dataset and model checkpoint.\n", | ||
| "\n", | ||
| "Setup notes:\n", | ||
| "\n", | ||
| "- **Setting up Google Colab**: To run this quickstart guide using Google Colab, choose the 'T4' GPU runtime from the \"Connect\" dropdown menu in the upper-right corner of this notebook for faster execution.\n", | ||
| "Using a GPU significantly speeds up running model inference, but CPU compute can also be used.\n", | ||
| "\n", | ||
| "- **Setting up local environment**: The commands below assume a Unix-like shell with `wget` installed. On Windows, the files can be downloaded manually from the URLs.\n", | ||
| "On Windows, the files can be downloaded manually from the URLs.\n", | ||
| "\n", | ||
| "\"\"\"\n", |
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.
I think something's wrong with the formatting here (looking at the rendered notebook shows extra quotes):
| "\"\"\"\n", | |
| "Setup\n", | |
| "\n", | |
| "The commands below will install the required packages and download the example dataset and model checkpoint.\n", | |
| "\n", | |
| "Setup notes:\n", | |
| "\n", | |
| "- **Setting up Google Colab**: To run this quickstart guide using Google Colab, choose the 'T4' GPU runtime from the \"Connect\" dropdown menu in the upper-right corner of this notebook for faster execution.\n", | |
| "Using a GPU significantly speeds up running model inference, but CPU compute can also be used.\n", | |
| "\n", | |
| "- **Setting up local environment**: The commands below assume a Unix-like shell with `wget` installed. On Windows, the files can be downloaded manually from the URLs.\n", | |
| "On Windows, the files can be downloaded manually from the URLs.\n", | |
| "\n", | |
| "\"\"\"\n", | |
| "### Setup\n", | |
| "\n", | |
| "The commands below will install the required packages and download the example dataset and model checkpoint.\n", | |
| "\n", | |
| "Setup notes:\n", | |
| "\n", | |
| "- **Setting up Google Colab**: To run this quickstart guide using Google Colab, choose the 'T4' GPU runtime from the \"Connect\" dropdown menu in the upper-right corner of this notebook for faster execution.\n", | |
| "Using a GPU significantly speeds up running model inference, but CPU compute can also be used.\n", | |
| "\n", | |
| "- **Setting up local environment**: The commands below assume a Unix-like shell with `wget` installed. On Windows, the files can be downloaded manually from the URLs.\n", | |
| "On Windows, the files can be downloaded manually from the URLs.\n", |
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.
addressed this in ab92b74
| "cell_marker": "\"\"\"" | ||
| }, | ||
| "source": [ | ||
| "# Prerequisites\n", |
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.
| "# Prerequisites\n", | |
| "## Prerequisites\n", |
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.
addressed 03d71f0
| "axes[1].set_ylabel(\"PHATE 2\")\n", | ||
| "\n", | ||
| "plt.tight_layout()\n", | ||
| "plt.show()" |
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.
This cell does not work for me, due to an issue with not finding the extracted_inf_state.csv file.
FileNotFoundError: [Errno 2] No such file or directory: 'extracted_inf_state.csv'
Did we fail to download this file in an earlier step?
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.
I figured out the bug. 1) I forgot to write the wget for downloading 2) the permission for the file were set to 750. Thanks!
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.
ab92b74 the notebook now reflects the download of this data and the csv file needed to run the rest of the exercise
|
Hi @edyoshikun - thanks for this! Last comments:
After installing phate, the notebook runs great 🎉 |
melissawm
left a comment
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.
Looks great! When you merge this, we can use add the notebook URL to the VCP so it's linked from there. Thank you!
This PR adds a quickstart demo for the VCP