How to run Tensorflow in Docker on Synology

  docker, python, synology, tensorflow

i’m tryning to run Tensorflow in Docker on my Synology DS. But it will not start.

I successfully installed the CPU only version from PIP:

[email protected]:/home/# pip3 install tensorflow-cpu                                                                  
-> Collecting tensorflow-cpu                                                                                                      
-> Using cached tensorflow_cpu-2.3.1-cp38-cp38-manylinux2010_x86_64.whl (137.4 MB) 
-> Installing collected packages: tensorflow-cpu                                                                                  
-> Successfully installed tensorflow-cpu-2.3.1 

But wenn i check the installation, i got an error:

[email protected]:/home# python3 -c 'import tensorflow as tf;'                                                        
-> Illegal instruction (core dumped) 

Does anyone know how i can solve the issue?

Source: Docker Questions

LEAVE A COMMENT