Open mattborgard opened 4 years ago
@splovyt If you have any insight on the imagio error, I'd appreciate it! I'll try upgrading Flask from 1.0.1 back to 1.1.1 (not a trivial change on the powerai image, but if it's required, we can make it work) to see if it makes any difference here.
Hi @mattborgard, thanks for your PR! Would it be possible to specify the library versions in your requirements file? That way, we know for sure that we are on the same page there.
Your current requirements-pai.txt
:
Pillow
tensorflow
scikit-image
imageio
Aligning this with the requirements.txt
file, this can be changed to:
Pillow==5.4.1
tensorflow==1.12.2
scikit-image==0.14.2
imageio==2.5.0
Feel free to change the tensorflow version if you cannot set it to 1.12.2
, the problem is likely not there anyways. If the issue persists, I'll take a deeper look! Thank you!
One of the issues with a powerai base is that most of the packages are pinned to very specific versions. Some of these can be updated to different versions, but this causes a downgrade to tensorflow which defeats the purpose of our conda install (this specific install through powerai's channel means we don't have to worry about license issues, etc).
This package versions can likely be changed if necessary with the powerai team, but we will probably need to identify exactly where the issue lies. I can list what is currently installed in the image:
pillow 6.1.0 tensorflow 1.14.0 scikit-image 0.15.0 imageio 2.5.0
It looks like there's an actual functional error: