tensorflow / tensorflow/probability

TypeError from joint_distribution(observed_time_series=co2_by_month_training_data).log_prob

Open
#1,615 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
4.4k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

I've searched around for the ScopedTFGraph but found nothing.
I'm using Python 3.10.5 and following the Notebook without modification.

TypeError: TF_TryEvaluateConstant_wrapper(): incompatible function arguments. The following argument types are supported:
    1. (arg0: tensorflow.python.client._pywrap_tf_session.TF_Graph, arg1: tensorflow.python.client._pywrap_tf_session.TF_Output) -> object

Invoked with: <tensorflow.python.framework.c_api_util.ScopedTFGraph object at 0x000002052D4F6C50>, <tensorflow.python.client._pywrap_tf_session.TF_Output object at 0x000002052D62D9B0>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the notebook's joint_distribution(observed_time_series=co2_by_month_training_data).log_prob call under Python 3.10.5, then inspect the TensorFlow and TensorFlow Probability versions and the graph wrapper named in the traceback. Done means identifying the compatibility problem and documenting or fixing a reproducible resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python, tensorflow
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.