Sign inSign up

pwipo/tensorflow

By pwipo

•Updated about 2 years ago

image for tensorflow with tensorflow_text for amd64

Image
Machine learning & AI
0

895

pwipo/tensorflow repository overview

image for tensorflow with tensorflow_text for amd64

tensorflow_text load from https://www.wheelodex.org/projects/tensorflow-text/⁠


docker file:

FROM python:3.11-bullseye

COPY wheels /tmp/wheels

RUN apt update && apt install libhdf5-dev -y

RUN pip3 install jupyter ipywidgets widgetsnbextension pandas-profiling

RUN pip3 install pandas scikit-learn seaborn plotly

RUN pip3 install 'numpy==1.26.4'

RUN pip3 install 'h5py==3.11.0'

RUN pip3 install 'tensorflow==2.17.0'

RUN pip3 install /tmp/wheels/tensorflow_text-2.17.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

RUN rm -fr /tmp/wheels

RUN pip3 install --upgrade --force-reinstall 'keras_nlp==0.14.4'

RUN pip3 install --upgrade --force-reinstall 'keras==3.5.0'

RUN pip3 install --upgrade --force-reinstall 'numpy==1.26.4'

EXPOSE 8888

CMD [ "jupyter", "lab", "--allow-root", "--no-browser", "--port=8888", "--ip=0.0.0.0", "--notebook-dir=/root/workspace" ]

build: docker build --platform=linux/amd64 -t tensorflow .


run: docker run -d -p 8888:8888 --name tensorflow -v C:/python/nlp:/root/workspace tensorflow

Tag summary

Content type

Image

Digest

sha256:0bd26619b…

Size

2.7 GB

Last updated

about 2 years ago

docker pull pwipo/tensorflow