CCExtractor / Rekognition

Free and Open Source alternative to Amazon's Rekognition service. CCExtractor Development | Poor Man's Rekognition
GNU General Public License v3.0
101 stars 52 forks source link

Docker Image Build Fails #192

Open MauryaRitesh opened 2 years ago

MauryaRitesh commented 2 years ago

For an end-user, the command docker image build ./ doesn't work properly The docker file doesn't create a virtual environment and it is also not able to download the models.

To Reproduce Steps to reproduce the behavior:

  1. Clone the Repository: git clone https://github.com/pymit/Rekognition
  2. Run: docker image build ./

Expected behavior It should be able to build and run the image without any error.

Screenshots Screenshot from 2022-04-14 23-47-13

Desktop:

PulkitMishra commented 2 years ago

@MauryaRitesh can you check if the retinanet model has been downloaded?

MauryaRitesh commented 2 years ago

It was downloaded, all the steps till 35 ran successfully.

 ---> 79a5ec701e8e
Step 35/40 : COPY . .
 ---> 4b4c1c6e3088
Step 36/40 : RUN tensorflow_model_server --port=8500 --rest_api_port=8501 --model_config_file=$(pwd)/corelib/model/tfs/model_volume/configs/models.conf
 ---> Running in bfe760d5fce2
2022-04-16 16:22:51.150242: I tensorflow_serving/model_servers/server_core.cc:465] Adding/updating models.
2022-04-16 16:22:51.150887: I tensorflow_serving/model_servers/server_core.cc:594]  (Re-)adding model: retinanet
2022-04-16 16:22:51.150941: I tensorflow_serving/model_servers/server_core.cc:594]  (Re-)adding model: places
2022-04-16 16:22:51.150981: I tensorflow_serving/model_servers/server_core.cc:594]  (Re-)adding model: tbpp
2022-04-16 16:22:51.151005: I tensorflow_serving/model_servers/server_core.cc:594]  (Re-)adding model: fer2013
2022-04-16 16:22:51.151030: I tensorflow_serving/model_servers/server_core.cc:594]  (Re-)adding model: nsfw
2022-04-16 16:22:51.151055: I tensorflow_serving/model_servers/server_core.cc:594]  (Re-)adding model: crnn_syn90k_saved_model
2022-04-16 16:22:51.151085: I tensorflow_serving/model_servers/server_core.cc:594]  (Re-)adding model: yolov3
2022-04-16 16:22:51.151111: I tensorflow_serving/model_servers/server_core.cc:594]  (Re-)adding model: east
2022-04-16 16:22:51.373502: E tensorflow_serving/sources/storage_path/file_system_storage_path_source.cc:365] FileSystemStoragePathSource encountered a filesystem access error: Could not find base path /home/models/retinanet for servable retinanet with error NOT_FOUND: /home/models/retinanet not found
ignaciochemes commented 2 years ago

I have the same problem, I can't make the image build.