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

Getting Illegal instruction (core dumped) #23

Closed webciter closed 3 years ago

webciter commented 4 years ago

Unable to init API, sudo docker run -it -p 5000:5000 codait/max-image-resolution-enhancer

returns Illegal instruction (core dumped)

using ubuntu 19.10 and Docker version 19.03.3, build a872fc2f86

xuhdev commented 4 years ago

Could you paste the output of uname -a?

webciter commented 4 years ago

figured out the problem, it was the cpu extensions.

xuhdev commented 4 years ago

Could you provide more details?

kiki67100 commented 4 years ago

@xuhdev I think is related to https://tech.amikelive.com/node-887/how-to-resolve-error-illegal-instruction-core-dumped-when-running-import-tensorflow-in-a-python-program/

I have the same issue, it's because new version of tensorflow is not built with goodl instruction for old cpu