sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev \
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
xz-utils tk-dev libffi-dev liblzma-dev python-openssl git
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bashrc
exec "$SHELL"
pyenv install 3.7.3
pyenv global 3.7.3
python --version
First, make sure that you have labelme downloaded and installed into your environment. The installation procedure can be found here. Let's test making labelme annotations on a duck dataset. First, download the dataset from the link specified above and extract the dataset in your Downloads directory. The contents of the dataset should like like this. If we inspect the contents of each folder, we can see that only images are included. There are no annotations. Let's take the duck training folder and turn it into a new dataset.
Apr 22, 2020Prerequisites Setup pyenv Set global pyenv version to 3.7.3 Install virtualenv pip install virtualenv Create a new virtual environment virtualenv venv
Apr 21, 2020or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up