Repository: tensorflow/model-analysis
Issue: Running the example on Google Cloud Datalab
GitHub labels: stat:awaiting response

type:support

Please go to Stack Overflow for help and support:

Hi all, no one is responding on the model analysis tensorflow. As much as I want to use the library, I find it very challenging to get some help.

Please advice,
eilalan
https://stackoverflow.com/questions/tagged/tensorflow-model-analysis

If you open a GitHub issue, here is our policy:

1.  It must be a bug, a feature request, or a significant problem with
    documentation (for small docs fixes please send a PR instead).
2.  The form below must be filled out.

**Here's why we have that policy**: TensorFlow Model Analysis developers respond
to issues. We want to focus on work that benefits the whole community, e.g.,
fixing bugs and adding features. Support only helps individuals. GitHub also
notifies thousands of people when issues are filed. We want them to see you
communicating an interesting problem, rather than being redirected to Stack
Overflow.

--------------------------------------------------------------------------------

### System information

-   **Have I written custom code (as opposed to using a stock example script
    provided in TensorFlow Model Analysis)**:
-   **OS Platform and Distribution (e.g., Linux Ubuntu 16.04)**:
-   **TensorFlow Model Analysis installed from (source or binary)**:
-   **TensorFlow Model Analysis version (use command below)**:
-   **Python version**:
-   **Jupyter Notebook version**:
-   **Exact command to reproduce**:

You can obtain the TensorFlow Model Analysis version with

`python -c "import tensorflow_model_analysis as tfma; print(tfma.VERSION_STRING)"`

### Describe the problem

Describe the problem clearly here. Be sure to convey here why it's a bug in
TensorFlow Model Analysis or a feature request.

### Source code / logs

Include any logs or source code that would be helpful to diagnose the problem.
If including tracebacks, please include the full traceback. Large logs and files
should be attached. Try to provide a reproducible test case that is the bare
minimum necessary to generate the problem.


I was able to make some progress. Currently executing the Chicago taxi on the Google Cloud Datalab. I was able to import the tensorflow-model-analysis, tensorflow-data-validation, render the data validation tables. The only piece that is currently not working is the tensorflow-model-analysis rendering commands. See attached the notebook (with txt extension to allow me to uplaod) Please  let me know if you have any recommendation. Many thanks, eilalan

[or_chicago_taxi_tfma_local_playground.ipynb.txt](https://github.com/tensorflow/model-analysis/files/2635468/or_chicago_taxi_tfma_local_playground.ipynb.txt)


@OrielResearchCure ,
Can you please confirm if you can run Tensorflow Model Analysis rendering commands with the latest version.

Hi,
Thank you for the follow up. Datalab is my daily go to tool. 

As far as I remember, It is not working smoothly. 
I was running the below installations when I wanted it to work. 
TFX is not supporting tensorflow-alpha at the moment, so I am unable to work with it at all at the moment. I am running the same list of installations (changing tensorflow==2.0.0-alpha0) when I want to work with the latest tensorflow.

I am looking forward to have the latest  libraries working out of the box. 
Please let me know if there is a way to work with TFX / latest Tesnorflow with less installations added.

Many thanks,
Eila

```
%%bash
source activate py2env
conda install -y dill==0.2.8.2 psutil==5.4.8 protobuf==3.6.0
conda remove -y python-snappy
pip install tensorflow==1.12.0 tensorflow-model-analysis==0.11.0 tensorflow_transform==0.11.0 pandas-gbq==0.4.1 tensorboard==1.12.0 apache-beam[gcp]==2.8.0 tensorflow-data-validation==0.11.0 tensorflow-probability tensorflow-metadata==0.9.0 widgetsnbextension==3.4.2 scipy==1.1.0 tensorflow-serving-api==1.11.0
```

@OrielResearchCure ,
1. Supporting TF 2.0 end-to-end in TFX is currently a work in progress.
2. As of now, installations are required because each Component can be used independently as well.


Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!