Skip to content

Commit

Permalink
Merge branch 'work'
Browse files Browse the repository at this point in the history
  • Loading branch information
tanliwei-coder committed Mar 29, 2024
2 parents 28a5109 + 1107d49 commit 1156e34
Show file tree
Hide file tree
Showing 52 changed files with 6,151 additions and 3,925 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/pytest_conda_linux_demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,9 @@ on:
jobs:
build-linux-and-start-pytest:
runs-on: cpu
defaults:
run:
shell: bash
steps:
# - uses: actions/checkout@v3
- name: Activate Conda Enviroment
- name: 'See Working Dir'
run: |
echo "using conda $(which conda)"
conda activate test
echo "working dir is $(pwd)"
echo "using python $(which python)"
- uses: actions/checkout@v3
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,5 @@ tests/test_image/
tests/test_data/

.vscode/

代码规范.md
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ patchify
fastremap
roifile
cusingler
cell-bin==1.2.8.1
cell-bin==1.3.4.1

Sphinx>=7.1.2
nbsphinx>=0.9.3
Expand Down
22 changes: 0 additions & 22 deletions docs/source/Tutorials/Cell_Correction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,6 @@
" correcting from GEM and mask."
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "055c2cb0",
"metadata": {},
"source": [
"<div class=\"alert alert-info\">\n",
"\n",
"**Preparation**\n",
"\n",
"Before **Cell Segmentation**, **Tissue Segmentation** or generating **mask file** from **ssDNA image** on **Cell Correction**, certain packages should be installed beforehand. \n",
"\n",
"Install necessary packages by running commands as below:\n",
"\n",
"> &ensp;&ensp; **pip install tensorflow==2.7.0** \n",
"> &ensp;&ensp; **pip install torch==1.10.0** \n",
"> &ensp;&ensp; **pip install torchvision==0.11.1** \n",
"> &ensp;&ensp; **pip install albumentations==0.4.6**\n",
"\n",
"</div>"
]
},
{
"attachments": {},
"cell_type": "markdown",
Expand Down
2,467 changes: 798 additions & 1,669 deletions docs/source/Tutorials/Cell_Segmentation.ipynb

Large diffs are not rendered by default.

32 changes: 10 additions & 22 deletions docs/source/Tutorials/Clustering_by_GPU.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,9 @@
"id": "6c54f9b2",
"metadata": {},
"source": [
"Select the correct version on the homepage of [RAPIDS' official website](https://rapids.ai/start.html). Run following command to build up a specific environment:"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "6af3dcbf",
"metadata": {},
"outputs": [],
"source": [
"conda create -n rapids-22.12 -c rapidsai -c conda-forge -c nvidia rapids=22.12 python=3.8 cudatoolkit=11.5"
"Select the correct version on the homepage of [RAPIDS' official website](https://rapids.ai/start.html). Run following command to build up a specific environment:\n",
"\n",
" conda create -y -n stereopy-rapids -c rapidsai -c conda-forge -c nvidia python=3.8 rapids=23.04.01 cuda-version=11.8"
]
},
{
Expand Down Expand Up @@ -120,17 +112,13 @@
"id": "4d7987c1",
"metadata": {},
"source": [
"Installation through conda command fails in the environment with GPU acceleration, only [PyPI command](https://stereopy.readthedocs.io/en/latest/General/Installation.html#pypi) will succeed."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "ff9da4be",
"metadata": {},
"outputs": [],
"source": [
"pip install stereopy"
"Installation through conda command fails in the environment with GPU acceleration, only [PyPI command](https://stereopy.readthedocs.io/en/latest/General/Installation.html#pypi) will succeed.\n",
"\n",
" pip install stereopy\n",
"\n",
"After installing stereopy, you will get some warnings about dependency conflicts, you can ignore them except two that must be reinstall to correct version.\n",
"\n",
" pip install dask==2023.3.2 distributed==2023.3.2.1"
]
},
{
Expand Down
1,406 changes: 953 additions & 453 deletions docs/source/Tutorials/SingleR.ipynb

Large diffs are not rendered by default.

1,075 changes: 756 additions & 319 deletions docs/source/Tutorials/Tissue_Segmentation.ipynb

Large diffs are not rendered by default.

1,536 changes: 949 additions & 587 deletions docs/source/Tutorials/Trajectory_Analysis.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 1156e34

Please sign in to comment.