Comments (9)
I'll take a look this week. Thanks for pointing this out.
from tcav.
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.
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.
@jameswex Since you are still using Session
, I am assuming this wouldn't work if I use tf 2.0
?
from tcav.
@akhilpandey95 Did you solve the problem? I also met this problem.
from tcav.
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.
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.
Hi, @jameswex . I have pulled the code of your PR and it works. Thanks a lot!
from tcav.
Great! The PR has been merged so I will close this issue.
from tcav.
Related Issues (20)
- Not able to run all the bottlenecks together for any given model HOT 2
- requirement.txt file has a mistake HOT 3
- How to use TCAV with custom keras models(h5) HOT 2
- why the 'get_direction_dir_sign' function returns 'dot_prod<0' instead 'dot_prod>0' ?? HOT 1
- Setup for Run_TCAV.ipynb fails HOT 2
- TCAV with TensorFlow Object Detection API models HOT 4
- TCAV on tabular data HOT 3
- Random Images for TCAV for Diabetic Retinopathy application HOT 9
- Concept Images for TCAV for DR application
- Problem with Relative TCAV plots
- Question regarding discrete model prediction layer activation function and model loss function
- InvalidArgumentError: Requested return tensor 'softmax2_pre_activation:0' not found in graph def HOT 1
- result not reproduced by taking gradient wrt logit and flipping sign HOT 1
- Extend TCAV for Object detection
- TCAV for multiple instance learning
- Clarifying experiments in Section 4.1.2 Empirical Deep Dream
- InvalidArgumentError: Node 'v5/mul_1' is not unique
- Reproduce Fig.4. Zebra TCAV in googlenet from paper
- Downloading the tcav data using the download_and_make_datasets
- Columns and DataType Not Explicitly Set on line 69 of imagenet_and_broden_fetcher.py
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tcav.