cd
to the folder where you put folders of your softwares- download the repository by
git clone https://github.com/AllenCell/cvapipe_analysis.git
- If you don't know git please check out my tutorial: How to configure Git and setup GitHub on new machine
- go into the downloaded repo
cd cvapipe_analysis
- use the publication version of the code
git checkout tags/nature-paper
- create a new Conda environment
conda create --name cvapipe python=3.8
andactivate it conda activate cvapipe
- If you don't know conda please check out my documentation: Install Mamba
- install the downloaded code
pip install -e .
When you are not able to embed/add an image from GitHub to your MarkDown files such as a page in Sphinx or Jupyter Book, maybe you are using blob
instead of raw
in the image URL.
For example, if you use https://github.com/hci-unihd/plant-seg/raw/assets/images/plantseg_overview.png
then the link is to an image, but https://github.com/hci-unihd/plant-seg/blob/assets/images/plantseg_overview.png
is to the GitHub page that contains the image.
Click to see the difference:
import os | |
import re | |
import subprocess | |
from datetime import datetime, timedelta | |
def set_creation_date(file_path, creation_date): | |
""" | |
Set the creation date of a file. |
For easily merging some labels in an instance segmentation mask:
If conda install
fails to resolve dependencies, install packages with all channels used before. For example, use
$ conda install napari vigra elf nifty pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch -c nvidia -c conda-forge -c cpape
instead of
$ conda install napari vigra nifty -c conda-forge
If you have GSettings schema undefined not found
during installation of Panel World Clock (Lite)
by Nei, then it might not be a problem with GSettings
or gnome. If you installed gnome-clock
with snap
, remove it by snap remove gnome-clock
and then reinstall it by apt
. Now reinstall panel world clock, logout and login again.
by Qin Yu, May 2021
If you get the following error during training with TensorFlow, then this is relevant to you (though this is an OpenMP/OMP error):
OMP: Error #34: System unable to allocate necessary resources for OMP thread:
OMP: System error #11: Resource temporarily unavailable
OMP: Hint Try decreasing the value of OMP_NUM_THREADS.