-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building TF 2.X.0 for OdroidXU4 with Python3.8 #102
Comments
Hi @fantinomaurizio , put here full log |
Thanks! I will do it asap, sorry for my late reply, but I am on vacation at the moment, but your help is very much appreciated and important since I truly need to have it functioning this tensorflow on my odroid xu4 that has python3.8. Thanks again! Maurizio |
Hi @lhelontra and thanks for your time! DockerfileFROM debian:sid
RUN dpkg --add-architecture armhf && dpkg --add-architecture arm64 \
&& apt-get update && apt-get install -y \
openjdk-11-jdk automake autoconf libpng-dev \
curl zip unzip libtool swig zlib1g-dev pkg-config git wget xz-utils \
python3-numpy python3-pip python3-mock \
libpython3-dev libpython3-all-dev \
libpython3-dev:armhf libpython3-all-dev:armhf \
libpython3-dev:arm64 libpython3-all-dev:arm64
RUN echo "deb http://ftp.us.debian.org/debian/ buster main contrib non-free" > /etc/apt/sources.list.d/buster.list \
&& apt-get update && apt-get install -y --allow-downgrades gcc-8 g++-8 gcc=4:8.3.0-1 g++=4:8.3.0-1 cpp=4:8.3.0-1\
&& rm -f /etc/apt/sources.list.d/buster.list \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install -U --user keras_applications==1.0.8 --no-deps \
&& pip3 install -U --user keras_preprocessing==1.1.0 --no-deps \
&& ldconfig
RUN /bin/bash -c "update-alternatives --install /usr/bin/python python /usr/bin/python3 150"
WORKDIR /root
RUN git clone https://github.com/lhelontra/tensorflow-on-arm/
WORKDIR /root/tensorflow-on-arm/build_tensorflow/
RUN git checkout v2.3.0
CMD ["/bin/bash"] Commandscd build_tensorflow/
docker build -t tf-arm -f Dockerfile.sid .
docker run -itd -v /tmp/tensorflow_pkg/:/tmp/tensorflow_pkg/ --env TF_PYTHON_VERSION=3.8 tf-arm ./build_tensorflow.sh configs/odroidxu4.conf Error Logs
Complete Logs |
I think that this issue can be closed for #105 |
I have tried to build TF for the XU4 with Python3.8 but with no success.
I have changed the Debian from Buster to experimental, from experimental to sid. Run the docker container with Buster and installing Python3.8, updating all the repository and also making a dist-upgrade.
I have tried with different version of Bazel, different and newer linaro toolchain, but always something fails.
Do you have any suggestion how to fix it? I really need TF on Python3.8.
Thanks,
Maurizio.
The text was updated successfully, but these errors were encountered: