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
984 stars 155 forks source link

Can't open Swagger documentation page #51

Closed MaxIhme closed 2 years ago

MaxIhme commented 2 years ago

Hi,

I finnally managed to deploy the model locally with: $ docker run -it -p 5000:5000 max-image-resolution-enhancer on Mac 10.14.6

It seems to be running but I can't open the documentation Page, neither with Firefox, Safari or Chrome (with deactivated firewall) on adresses: http://localhost:5000 or http://{local IP}:5000 or http://0.0.0.0:5000

but chrome says: connection refused " Die Website ist nicht erreichbarlocalhost hat die Verbindung abgelehnt. Versuchen Sie Folgendes:

Verbindung prüfen Proxy und Firewall prüfen ERR_CONNECTION_REFUSED "

the text in my Terminal is:

.....$ docker run -it -p 5000:5000 max-image-resolution-enhancer 2021-12-16 10:56:59.678705: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory 2021-12-16 10:56:59.679682: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. /opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/engine/base_layer_v1.py:1694: UserWarning: layer.apply is deprecated and will be removed in a future version. Please use layer.__call__ method instead. warnings.warn('layer.apply is deprecated and ' WARNING:tensorflow:From /opt/conda/lib/python3.7/site-packages/tensorflow/python/util/deprecation.py:617: calling map_fn_v2 (from tensorflow.python.ops.map_fn) with dtype is deprecated and will be removed in a future version. Instructions for updating: Use fn_output_signature instead 2021-12-16 10:57:08.365665: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory 2021-12-16 10:57:08.367575: W tensorflow/stream_executor/cuda/cuda_driver.cc:269] failed call to cuInit: UNKNOWN ERROR (303) 2021-12-16 10:57:08.368405: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (b09ccb8a0840): /proc/driver/nvidia/version does not exist 2021-12-16 10:57:08.695982: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.

can you help me?

MaxIhme commented 2 years ago

I solved it.... I got the newest update for my mac (OS Monterey 12.1), deinstalled docker and docker-machine, rebootet and installed Docker Desktop for Mac. Then did all the steps for "run locally" on this github side and now I can see the documentation page on http://localhost:5000.