GithubHelp home page GithubHelp logo

Comments (9)

jonycgn avatar jonycgn commented on June 11, 2024 1

from compression.

xinziXu avatar xinziXu commented on June 11, 2024

pip3 list

Package Version


absl-py 0.7.1
astor 0.8.0
certifi 2019.6.16
gast 0.2.2
google-pasta 0.1.7
grpcio 1.22.0
h5py 2.9.0
Keras-Applications 1.0.8
Keras-Preprocessing 1.1.0
Markdown 3.1.1
numpy 1.17.0
pip 19.1.1
protobuf 3.9.1
scipy 1.3.1
setuptools 41.0.1
six 1.12.0
tensorboard 1.14.0
tensorflow-compression 1.2b2
tensorflow-estimator 1.14.0
tensorflow-gpu 1.14.0
termcolor 1.1.0
Werkzeug 0.15.5
wheel 0.33.4
wrapt 1.11.2

from compression.

jonycgn avatar jonycgn commented on June 11, 2024

Hi, are you trying to write your code inside a git repository cloned from tensorflow-compression?

from compression.

xinziXu avatar xinziXu commented on June 11, 2024

Hi @jonycgn . Yes I have cloned the code from github.
Then I restarted the terminal, and input import tensorflow_compression. No error occurred.

from compression.

henryhuang329 avatar henryhuang329 commented on June 11, 2024

Hi, I occur this problem. How do you resolve it? Have you used the bazel to build the cc/BUILD file?

from compression.

jonycgn avatar jonycgn commented on June 11, 2024

from compression.

trougnouf avatar trougnouf commented on June 11, 2024

I haven't been able to build or use "natively" on Arch Linux (tensorflow 2.1, python 3.8), but docker setup works as follow:

installation

sudo docker pull tensorflow/tensorflow:1.15.0-gpu-py3
sudo docker run -it tensorflow/tensorflow:1.15.0-gpu-py3 bash
pip install tensorflow_compression

update

in another window:

sudo docker ps -l
sudo docker commit [ID]  tensorflow/tensorflow:1.15.0-gpu-py3

run


sudo systemctl start docker
sudo docker run -it --gpus 1 -v [LOCAL PATH eg /home/trougnouf/tfcompression_doodling]:[DOCKER PATH eg /tfcompression_doodling] -u $(id -u):$(id -g) tensorflow/tensorflow:1.15.0-gpu-py3 bash

from compression.

henryhuang329 avatar henryhuang329 commented on June 11, 2024

Hi – if in doubt, I would recommend not to compile the library yourself. Instead, have you tried installing TensorFlow 1.15 and tensorflow_compression 1.3 via pip? See the installation instructions. Please let me know if it still doesn't work.

On Fri, Jan 31, 2020 at 15:50 Xiaofeng Huang @.***> wrote: Hi, I occur this problem. How do you resolve it? Have you used the bazel to build the cc/BUILD file? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#30?email_source=notifications&email_token=ABYGBVCEEGDCB76QLUKH5YLRAQ3D5A5CNFSM4ILQQJR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKO4EDA#issuecomment-580764172>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYGBVEU5Q2DW6W5JTXEK4TRAQ3D5ANCNFSM4ILQQJRQ .

Thanks, I will try it.

from compression.

doitrightnow1 avatar doitrightnow1 commented on June 11, 2024

Hi,
I followed the Anaconda installation steps to install tfc (python=3.6, tensorflow-gpu==1.15). The installation was successfully completed. When I "import tensorflow_compression" it requires TensorFlow 2.1. This is the error message
RuntimeError: For tensorflow_compression, please install TensorFlow 2.1.
How can I still use the library with TensorFlow 1.15?

from compression.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.