cogsys-tuebingen / deephs_fruit

Measuring the ripeness of fruit with Hyperspectral Imaging and Deep Learning
42 stars 13 forks source link

Unknown version opencv-python/opencv-contrib-python #1

Closed remivanbel closed 2 years ago

remivanbel commented 2 years ago

When creating a new conda environment and using pip install -r requirements.txt, i got the following error.

ERROR: Could not find a version that satisfies the requirement opencv-python==4.2.0.34 (from versions: 3.4.0.14, 3.4.10.37, 3.4.11.39, 3.4.11.41, 3.4.11.43, 3.4.11.45, 3.4.13.47, 3.4.14.51, 3.4.14.53, 3.4.15.55, 3.4.16.57, 3.4.16.59, 3.4.17.61, 4.3.0.38, 4.4.0.40, 4.4.0.42, 4.4.0.44, 4.4.0.46, 4.5.1.48, 4.5.2.52, 4.5.2.54, 4.5.3.56, 4.5.4.58, 4.5.4.60, 4.5.5.62) ERROR: No matching distribution found for opencv-python==4.2.0.34

I had the same problem for opencv-contrib-python, scikit-image and torch.

I resolved the problem by removing the version requirement, but I stilled wanted to report so you can check. I think it might also be related to the fact I'm using Linux (Ubuntu 20.04).

leonvarga commented 2 years ago

Hi @remivanbel, thank you for informing me. Currently, I am working on a cleaner version of this project. In the newer version, the training proceeder should also be much more stable. I will publish it in combination with a special kind of convolution. If you have further problems, don't hesitate to ask.

Kind regards, Leon Varga