Skip to content
This repository was archived by the owner on Oct 31, 2022. It is now read-only.
This repository was archived by the owner on Oct 31, 2022. It is now read-only.

Error when running run_sample_training_pipeline.sh #28

@Testbild

Description

@Testbild

Hi @matpalm ,
that is an awesome project you have here. I struggle a bit to get it running. I did the following (on my windows 11 machine):

create a virtual environment with python -m venv
install the requirements.txt in the virtual environement
run the run_sample_training_pipeline.sh

The labeling tool opens and works fine with the sample images from you. When it then comes to the materialise_label_db.py the following error appears:

errormessage_new

So I tried to manually install skimage as it was reported missing. Then it said install scikit-image instead of skimage, but that is already satisfied.


(beeProject) C:\Users\Chrizzl\Documents\ObjectDetection\BeeProject\bnn>pip install skimage
Collecting skimage
  Downloading skimage-0.0.tar.gz (757 bytes)
  Preparing metadata (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\Chrizzl\Documents\ObjectDetection\BeeProject\beeProject\Scripts\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Chrizzl\\AppData\\Local\\Temp\\pip-install-pu5o48n4\\skimage_31623e2a30784bacaced383f1d540476\\setup.py'"'"'; __file__='"'"'C:\\Users\\Chrizzl\\AppData\\Local\\Temp\\pip-install-pu5o48n4\\skimage_31623e2a30784bacaced383f1d540476\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chrizzl\AppData\Local\Temp\pip-pip-egg-info-6acej1f8'
       cwd: C:\Users\Chrizzl\AppData\Local\Temp\pip-install-pu5o48n4\skimage_31623e2a30784bacaced383f1d540476\
  Complete output (3 lines):

  *** Please install the `scikit-image` package (instead of `skimage`) ***

  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/3b/ee/edbfa69ba7b7d9726e634bfbeefd04b5a1764e9e74867ec916113eeaf4a1/skimage-0.0.tar.gz#sha256=6c96a11d9deea68489c9b80b38fad1dcdab582c36d4fa093b99b24a3b30c38ec (from https://pypi.org/simple/skimage/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement skimage (from versions: 0.0)
ERROR: No matching distribution found for skimage

(beeProject) C:\Users\Chrizzl\Documents\ObjectDetection\BeeProject\bnn>pip install scikit-image
Requirement already satisfied: scikit-image in c:\users\chrizzl\documents\objectdetection\beeproject\beeproject\lib\site-packages (0.18.3)
Requirement already satisfied: tifffile>=2019.7.26 in c:\users\chrizzl\documents\objectdetection\beeproject\beeproject\lib\site-packages (from scikit-image) (2021.11.2)
Requirement already satisfied: PyWavelets>=1.1.1 in c:\users\chrizzl\documents\objectdetection\beeproject\beeproject\lib\site-packages (from scikit-image) (1.2.0)
Requirement already satisfied: numpy>=1.16.5 in c:\users\chrizzl\documents\objectdetection\beeproject\beeproject\lib\site-packages (from scikit-image) (1.21.4)
Requirement already satisfied: scipy>=1.0.1 in c:\users\chrizzl\documents\objectdetection\beeproject\beeproject\lib\site-packages (from scikit-image) (1.7.2)
Requirement already satisfied: imageio>=2.3.0 in c:\users\chrizzl\documents\objectdetection\beeproject\beeproject\lib\site-packages (from scikit-image) (2.10.3)
Requirement already satisfied: pillow!=7.1.0,!=7.1.1,>=4.3.0 in c:\users\chrizzl\documents\objectdetection\beeproject\beeproject\lib\site-packages (from scikit-image) (8.4.0)
Requirement already satisfied: matplotlib!=3.0.0,>=2.0.0 in c:\users\chrizzl\documents\objectdetection\beeproject\beeproject\lib\site-packages (from scikit-image) (3.4.3)
Requirement already satisfied: networkx>=2.0 in c:\users\chrizzl\documents\objectdetection\beeproject\beeproject\lib\site-packages (from scikit-image) (2.6.3)
Requirement already satisfied: python-dateutil>=2.7 in c:\users\chrizzl\documents\objectdetection\beeproject\beeproject\lib\site-packages (from matplotlib!=3.0.0,>=2.0.0->scikit-image) (2.8.2)
Requirement already satisfied: pyparsing>=2.2.1 in c:\users\chrizzl\documents\objectdetection\beeproject\beeproject\lib\site-packages (from matplotlib!=3.0.0,>=2.0.0->scikit-image) (3.0.5)
Requirement already satisfied: cycler>=0.10 in c:\users\chrizzl\documents\objectdetection\beeproject\beeproject\lib\site-packages (from matplotlib!=3.0.0,>=2.0.0->scikit-image) (0.11.0)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\chrizzl\documents\objectdetection\beeproject\beeproject\lib\site-packages (from matplotlib!=3.0.0,>=2.0.0->scikit-image) (1.3.2)
Requirement already satisfied: six>=1.5 in c:\users\chrizzl\documents\objectdetection\beeproject\beeproject\lib\site-packages (from python-dateutil>=2.7->matplotlib!=3.0.0,>=2.0.0->scikit-image) (1.16.0)

Hence the script stops and I cannot start the training. I feel like I am doing something rather obvious wrong. Maybe you can help me here.

Best regards and thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions