Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Libraries versions specification is required #2

Open
sheetalojha opened this issue May 14, 2020 · 0 comments
Open

Libraries versions specification is required #2

sheetalojha opened this issue May 14, 2020 · 0 comments

Comments

@sheetalojha
Copy link

Hi there
I found this repository helpful but I am facing some issues while running the i3d_tf_to_pt.py. Here are the logs python gives me:

python i3d_tf_to_pt.py --rgb
Traceback (most recent call last):
  File "i3d_tf_to_pt.py", line 9, in <module>
    from src.i3dtf import InceptionI3d
  File "/home/sheetal/kinetics_i3d_pytorch/src/i3dtf.py", line 28, in <module>
    import sonnet as snt
  File "/home/sheetal/anaconda3/envs/tf/lib/python3.7/site-packages/sonnet/__init__.py", line 64, in <module>
    _ensure_dependency_available_at_version('tensorflow_probability', '0.4.0')
  File "/home/sheetal/anaconda3/envs/tf/lib/python3.7/site-packages/sonnet/__init__.py", line 47, in _ensure_dependency_available_at_version
    pkg = importlib.import_module(package_name)
  File "/home/sheetal/anaconda3/envs/tf/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/home/sheetal/anaconda3/envs/tf/lib/python3.7/site-packages/tensorflow_probability/__init__.py", line 78, in <module>
    from tensorflow_probability.python import *  # pylint: disable=wildcard-import
  File "/home/sheetal/anaconda3/envs/tf/lib/python3.7/site-packages/tensorflow_probability/python/__init__.py", line 21, in <module>
    from tensorflow_probability.python import bijectors
  File "/home/sheetal/anaconda3/envs/tf/lib/python3.7/site-packages/tensorflow_probability/python/bijectors/__init__.py", line 46, in <module>
    from tensorflow_probability.python.bijectors.matveclu import MatvecLU
  File "/home/sheetal/anaconda3/envs/tf/lib/python3.7/site-packages/tensorflow_probability/python/bijectors/matveclu.py", line 24, in <module>
    from tensorflow_probability.python.math.linalg import lu_reconstruct
  File "/home/sheetal/anaconda3/envs/tf/lib/python3.7/site-packages/tensorflow_probability/python/math/__init__.py", line 22, in <module>
    from tensorflow_probability.python.math.diag_jacobian import diag_jacobian
  File "/home/sheetal/anaconda3/envs/tf/lib/python3.7/site-packages/tensorflow_probability/python/math/diag_jacobian.py", line 24, in <module>
    tfe = tf.contrib.eager
AttributeError: module 'tensorflow' has no attribute 'contrib'

I think the issue is because of different versions of different libraries. It would be great if you can specify versions of the dependencies and help me fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant