GithubHelp home page GithubHelp logo

Comments (9)

jameswex avatar jameswex commented on August 12, 2024 1

I'll take a look this week. Thanks for pointing this out.

from tcav.

jameswex avatar jameswex commented on August 12, 2024 1

Hi @ElegantLin, thanks for the info.

I have a PR up for review that addresses your issue and makes a few more updates to clean up the code: #68

from tcav.

jameswex avatar jameswex commented on August 12, 2024

To run the TCAV notebook and tests, 'pip install tcav'. also pip install tensorflow or tensorflow-gpu' depending on if you want to use your GPU with tensorflow. Then the notebook and UTs should work. You don't need to clone this repo or built it from source, just use the pip package. You won't need to use requirements.txt as the tcav pip package will install all deps, except tensorflow which you can also pip install.

But I have fixed the requirements.txt file as you pointed out.

Let me know if these steps work for you.

from tcav.

akhilpandey95 avatar akhilpandey95 commented on August 12, 2024

@jameswex Since you are still using Session, I am assuming this wouldn't work if I use tf 2.0 ?

from tcav.

ElegantLin avatar ElegantLin commented on August 12, 2024

@akhilpandey95 Did you solve the problem? I also met this problem.

from tcav.

jameswex avatar jameswex commented on August 12, 2024

That is correct, TCAV has not yet been updated for TF2 but will be. I don't have a date for that change yet.

from tcav.

ElegantLin avatar ElegantLin commented on August 12, 2024

Hi, @jameswex , Thanks for your reply. I still met this problem and the following is my pip list

ModuleNotFoundError: No module named 'tcav_results'
(tcav) dzl@gpuserver1:~/ace/tcav$ pip list
Package              Version
-------------------- -------------------
absl-py              0.9.0
astor                0.8.1
certifi              2019.11.28
cycler               0.10.0
gast                 0.2.2
google-pasta         0.1.8
grpcio               1.27.2
h5py                 2.10.0
Keras-Applications   1.0.8
Keras-Preprocessing  1.1.0
kiwisolver           1.1.0
Markdown             3.2.1
matplotlib           2.2.4
numpy                1.17.0
opt-einsum           3.2.0
pandas               1.0.1
Pillow               6.2.0
pip                  20.0.2
protobuf             3.10.0
pydicom              1.3.0
pyparsing            2.4.6
python-dateutil      2.8.1
pytz                 2019.3
scikit-learn         0.20.3
scipy                1.2.1
setuptools           45.2.0.post20200210
six                  1.14.0
tcav                 0.2.1
tensorboard          1.15.0
tensorflow           1.15.2
tensorflow-estimator 1.15.1
termcolor            1.1.0
Werkzeug             1.0.0
wheel                0.34.2
wrapt                1.12.0

Do you know the reason? I just clone your repo and pip install -r requirements.txt.

Thanks for your help.

from tcav.

ElegantLin avatar ElegantLin commented on August 12, 2024

Hi, @jameswex . I have pulled the code of your PR and it works. Thanks a lot!

from tcav.

jameswex avatar jameswex commented on August 12, 2024

Great! The PR has been merged so I will close this issue.

from tcav.

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.