Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenvivek committed Nov 30, 2023
1 parent 2d58781 commit 375791e
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 4 deletions.
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,25 @@ rm data/ljubljana.zip
- `VerSe` ([**Sekuboyina et al., 2020**](https://pubs.rsna.org/doi/10.1148/ryai.2020190074)) ... -->

## Development (optional)
## Experiments

To run the experiments in `DiffPose`, run the following scripts (ensure
you have downloaded the data first):

``` zsh
cd experiments
mkdir checkpoints
srun python diffpose_train.py
srun python diffpose_register.py
```

The training and test-time optimization scripts use SLURM to run on all
subjects in parallel:

- `diffpose_train.py` is configured to run across six A6000 GPUs
- `diffpose_register.py` is configured to run across six 2080 Ti GPUs

## Development

`DiffPose` package, docs, and CI are all built using
[`nbdev`](https://nbdev.fast.ai/). To get set up with`nbdev`, install
Expand All @@ -89,7 +107,9 @@ important ones are

``` zsh
nbdev_preview # Render docs locally and inspect in browser
nbdev_prepare # NECESSARY BEFORE PUSHING: builds package, tests notebooks, and builds docs in one step
nbdev_clean # NECESSARY BEFORE PUSHING
nbdev_test # tests notebooks
nbdev_export # builds package and builds docs
```

For more details, follow this [in-depth
Expand Down
27 changes: 25 additions & 2 deletions notebooks/index.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,28 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Development (optional)\n",
"## Experiments\n",
"\n",
"To run the experiments in `DiffPose`, run the following scripts (ensure you have downloaded the data first):\n",
"\n",
"```zsh\n",
"cd experiments\n",
"mkdir checkpoints\n",
"srun python diffpose_train.py\n",
"srun python diffpose_register.py\n",
"```\n",
"\n",
"The training and test-time optimization scripts use SLURM to run on all subjects in parallel:\n",
"\n",
"- `diffpose_train.py` is configured to run across six A6000 GPUs\n",
"- `diffpose_register.py` is configured to run across six 2080 Ti GPUs"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Development\n",
"\n",
"`DiffPose` package, docs, and CI are all built using [`nbdev`](https://nbdev.fast.ai/).\n",
"To get set up with`nbdev`, install the following\n",
Expand All @@ -94,7 +115,9 @@
"\n",
"```zsh\n",
"nbdev_preview # Render docs locally and inspect in browser\n",
"nbdev_prepare # NECESSARY BEFORE PUSHING: builds package, tests notebooks, and builds docs in one step\n",
"nbdev_clean # NECESSARY BEFORE PUSHING\n",
"nbdev_test # tests notebooks\n",
"nbdev_export # builds package and builds docs\n",
"```\n",
"\n",
"For more details, follow this [in-depth tutorial](https://nbdev.fast.ai/tutorials/tutorial.html)."
Expand Down
Binary file modified notebooks/test_time_optimization.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 375791e

Please sign in to comment.