allanzelener / YAD2K

YAD2K: Yet Another Darknet 2 Keras
Other
2.72k stars 881 forks source link

Installation steps not working #163

Open devedse opened 5 years ago

devedse commented 5 years ago

I guess I'm used to C# projects where usually you open a solution and it just works, but apparently python works different.

However when I'm following the Installation steps they don't work.

conda env create -f environment.yml

Solving environment: failed

ResolvePackageNotFound:
  - freetype==2.5.5=2
  - libffi==3.2.1=1
  - libtiff==4.0.6=3
  - setuptools==27.2.0=py36_0
  - tk==8.5.18=0
  - dbus==1.10.10=0
  - openssl==1.0.2k=1
  - pcre==8.39=1
  - qt==5.6.2=3
  - jpeg==9b=0
  - readline==6.2=2
  - libxml2==2.9.4=0
  - glib==2.50.2=1
  - fontconfig==2.12.1=3
  - libpng==1.6.27=0
  - zlib==1.2.8=3
  - libgcc==5.2.0=0
  - gst-plugins-base==1.8.0=0
  - jbig==2.1=0
  - hdf5==1.8.17=1
  - libxcb==1.12=1
  - gstreamer==1.8.0=0
  - sqlite==3.13.0=0
  - libiconv==1.14=0
  - libgfortran==3.0.0=1
  - icu==54.1=0
  - xz==5.2.2=1
  - expat==2.1.0=0

I'm using Conda Mini on a windows environment. Can we make sure that somehow the environments.yml file works on all environments?

devedse commented 5 years ago

Eh, is this for real: https://github.com/datitran/object_detector_app/issues/41#issuecomment-387648855

alecGraves commented 5 years ago

yeah, you need to remove the path from environment.yml

alecGraves commented 5 years ago

like remove prefix: ... from the bottom of environment.yml

average-everyman commented 3 years ago

this worked for me:

conda config --add channels conda-forge
conda config --add channels akode

and then using a modified .yml file

name: tensorf-yolo9000
channels:
- defaults
- conda-forge
- akode
dependencies:
- pip
- python=3.5
- h5py=2.7
- numpy=1.12
- pillow=4.1
- pip:
  - keras==2.0.3
  - tensorflow-gpu==1.0.1
khaledhasanzami commented 1 year ago

not working for me...same issue

devedse commented 1 year ago

Take a look at this repo, it does work: https://github.com/WongKinYiu/yolov7