Skip to content

Commit

Permalink
Update DaCapo installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
rhoadesScholar committed Feb 11, 2024
1 parent 168572d commit 9753d93
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.ipynb
31 changes: 30 additions & 1 deletion examples/distance_task/finetune_liver_peroxisome.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,35 @@
"These are then combined in a single **dacapo.experiments.Run** that includes your starting point (whether you want to start training from scratch or continue off of a previously trained model) and stopping criterion (the number of iterations you want to train)."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Environment setup\n",
"If you have not already done so, you will need to install DaCapo. You can do this by first creating a new environment and then installing DaCapo using pip.\n",
"\n",
"```bash\n",
"conda create -n dacapo python=3.10\n",
"conda activate dacapo\n",
"```\n",
"\n",
"Then, you can install DaCapo using pip, via GitHub:\n",
"\n",
"```bash\n",
"pip install git+https://github.com/janelia-cellmap/dacapo.git\n",
"```\n",
"\n",
"Or you can clone the repository and install it locally:\n",
"\n",
"```bash\n",
"git clone https://github.com/janelia-cellmap/dacapo.git\n",
"cd dacapo\n",
"pip install -e .\n",
"```\n",
"\n",
"Be sure to select this environment in your Jupyter notebook or JupyterLab."
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -500,7 +529,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
"version": "3.10.13"
},
"orig_nbformat": 4
},
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,7 @@
"cattrs",
"numpy-indexed",
"click",
"ipykernel",
"jupyter",
],
)

0 comments on commit 9753d93

Please sign in to comment.