IBM / MAX-Image-Resolution-Enhancer

Upscale an image by a factor of 4, while generating photo-realistic details.
https://developer.ibm.com/exchanges/models/all/max-image-resolution-enhancer/
Apache License 2.0
993 stars 162 forks source link

Failing to build on windows #63

Open LeWuDISE opened 2 years ago

LeWuDISE commented 2 years ago
[+] Building 26.8s (7/11)
 => [internal] load build definition from Dockerfile                                                               0.1s
 => => transferring dockerfile: 1.23kB                                                                             0.0s
 => [internal] load .dockerignore                                                                                  0.1s
 => => transferring context: 164B                                                                                  0.0s
 => [internal] load metadata for docker.io/codait/max-base:v1.1.3                                                  2.2s
 => [1/7] FROM docker.io/codait/max-base:v1.1.3@sha256:be2e6a70c3ccd16fbe385975a03d1f77c8e02e9a21b2aa44865e468de  20.9s
 => => resolve docker.io/codait/max-base:v1.1.3@sha256:be2e6a70c3ccd16fbe385975a03d1f77c8e02e9a21b2aa44865e468de2  0.0s
 => => sha256:513cc132a85e82e2b617afcbaafdcdd32e4ab8b4647ca42f656e09d4c8804098 4.54kB / 4.54kB                     0.0s
 => => sha256:be2e6a70c3ccd16fbe385975a03d1f77c8e02e9a21b2aa44865e468de22ce5ee 2.20kB / 2.20kB                     0.0s
 => => sha256:49eab01d36f3e1b840ac3380b77dcb03f23d9f51baeece25086e314562581398 42.02MB / 42.02MB                   5.4s
 => => sha256:c2c2cfea02132c74bdec895f226ba7ee60b13e13f4549fe19d0a353c82bb817d 86.31MB / 86.31MB                   9.6s
 => => sha256:cc1a78bfd46becbfc3abb8a74d9a70a0e0dc7a5809bbd12e814f9382db003707 45.32MB / 45.32MB                   4.6s
 => => sha256:419499c9a4cf0cd98be64b355f96799bbb6f9bf34932733bc3ade822a8cbc17f 8.44kB / 8.44kB                     5.2s
 => => extracting sha256:cc1a78bfd46becbfc3abb8a74d9a70a0e0dc7a5809bbd12e814f9382db003707                          3.3s
 => => sha256:f7550509e92e740029588e5ed5a7c0ea6a363724db2b8653cd31029a6230b050 8.44kB / 8.44kB                     5.8s
 => => sha256:07ffab9d2da88bdcdfe33e918739ca1325eda03237c8fde4f4e1bff266027fa9 98B / 98B                           5.8s
 => => sha256:8fb4dce27a41e3512435ada3b32c50c4d2fa54f44e7f7504b17e3e9eeb596679 4.93kB / 4.93kB                     6.3s
 => => sha256:66ba7c4c6ba327755869648d7fd6c2c90786a91f48d1c6de79232c1e42e346be 118B / 118B                         6.3s
 => => sha256:a7344388fa1e49d619d95848a5ac398598d63ba1404bd7579a8c084b7189078e 14.75MB / 14.75MB                  10.3s
 => => extracting sha256:49eab01d36f3e1b840ac3380b77dcb03f23d9f51baeece25086e314562581398                          3.0s
 => => extracting sha256:c2c2cfea02132c74bdec895f226ba7ee60b13e13f4549fe19d0a353c82bb817d                          7.1s
 => => extracting sha256:419499c9a4cf0cd98be64b355f96799bbb6f9bf34932733bc3ade822a8cbc17f                          0.0s
 => => extracting sha256:f7550509e92e740029588e5ed5a7c0ea6a363724db2b8653cd31029a6230b050                          0.0s
 => => extracting sha256:07ffab9d2da88bdcdfe33e918739ca1325eda03237c8fde4f4e1bff266027fa9                          0.0s
 => => extracting sha256:66ba7c4c6ba327755869648d7fd6c2c90786a91f48d1c6de79232c1e42e346be                          0.0s
 => => extracting sha256:8fb4dce27a41e3512435ada3b32c50c4d2fa54f44e7f7504b17e3e9eeb596679                          0.0s
 => => extracting sha256:a7344388fa1e49d619d95848a5ac398598d63ba1404bd7579a8c084b7189078e                          1.1s
 => [internal] load build context                                                                                  0.2s
 => => transferring context: 16.33MB                                                                               0.2s
 => [2/7] WORKDIR /workspace                                                                                       2.0s
 => ERROR [3/7] RUN wget -nv --show-progress --progress=bar:force:noscroll https://s3.us-south.cloud-object-stora  1.5s
------
 > [3/7] RUN wget -nv --show-progress --progress=bar:force:noscroll https://s3.us-south.cloud-object-storage.appdomain.cloud/max-assets-prod/max-image-resolution-enhancer/1.0.0/assets.tar.gz --output-document=assets/assets.tar.gz &&   tar -x -C assets/ -f assets/assets.tar.gz -v && rm assets/assets.tar.gz:
#6 1.476 https://s3.us-south.cloud-object-storage.appdomain.cloud/max-assets-prod/max-image-resolution-enhancer/1.0.0/assets.tar.gz:
#6 1.476 2022-05-28 16:40:51 ERROR 403: Forbidden.
------
executor failed running [/bin/sh -c wget -nv --show-progress --progress=bar:force:noscroll ${model_bucket}/${model_file} --output-document=assets/${model_file} &&   tar -x -C assets/ -f assets/${model_file} -v && rm assets/${model_file}]: exit code: 8

C:\Users\User\Downloads\MAX-Image-Resolution-Enhancer-1.1.0\MAX-Image-Resolution-Enhancer-1.1.0>docker build -t max-image-resolution-enhancer .
[+] Building 2.1s (7/11)
 => [internal] load build definition from Dockerfile                                                               0.0s
 => => transferring dockerfile: 32B                                                                                0.0s
 => [internal] load .dockerignore                                                                                  0.0s
 => => transferring context: 34B                                                                                   0.0s
 => [internal] load metadata for docker.io/codait/max-base:v1.1.3                                                  0.7s
 => [1/7] FROM docker.io/codait/max-base:v1.1.3@sha256:be2e6a70c3ccd16fbe385975a03d1f77c8e02e9a21b2aa44865e468de2  0.0s
 => [internal] load build context                                                                                  0.0s
 => => transferring context: 2.41kB                                                                                0.0s
 => CACHED [2/7] WORKDIR /workspace                                                                                0.0s
 => ERROR [3/7] RUN wget -nv --show-progress --progress=bar:force:noscroll https://s3.us-south.cloud-object-stora  1.3s
------
 > [3/7] RUN wget -nv --show-progress --progress=bar:force:noscroll https://s3.us-south.cloud-object-storage.appdomain.cloud/max-assets-prod/max-image-resolution-enhancer/1.0.0/assets.tar.gz --output-document=assets/assets.tar.gz &&   tar -x -C assets/ -f assets/assets.tar.gz -v && rm assets/assets.tar.gz:
#6 1.276 https://s3.us-south.cloud-object-storage.appdomain.cloud/max-assets-prod/max-image-resolution-enhancer/1.0.0/assets.tar.gz:
#6 1.276 2022-05-28 16:41:50 ERROR 403: Forbidden.
------
executor failed running [/bin/sh -c wget -nv --show-progress --progress=bar:force:noscroll ${model_bucket}/${model_file} --output-document=assets/${model_file} &&   tar -x -C assets/ -f assets/${model_file} -v && rm assets/${model_file}]: exit code: 8

Fails to build on Windows 10. Almost-fresh install.

nkilm commented 1 year ago

@LeWuDISE It works for me. I'm using Windows 10 Home.

image image

Image size is 3.53GB image

jleaders commented 1 year ago

Works fine for me on Windows 11.

Error 403 forbidden sounds like an SSL cert expiration error. Try from a different network (different DNS) or maybe there was an outage.