Coder Social home page Coder Social logo

kinetics-i3d-pytorch's People

Contributors

eric-xw avatar hassony2 avatar rimchang avatar theshadow29 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

kinetics-i3d-pytorch's Issues

Transfer learning

I was wondering if someone try to perform transfer learning based on this implementation? How did you proceed and do you get any results ?

Error when running i3d_tf_to_pt.py

tensorflow.python.framework.errors_impl.NotFoundError: Restoring from checkpoint failed. This is most likely due to a Variable name or other graph key that is missing from the checkpoint. Please ensure that you have not altered the graph expected based on the checkpoint. Original error:

Key RGB/inception_i3d/Conv3d_1a_7x7/batch_norm/beta not found in checkpoint

Errors when converting i3d pre-trained on Kinetics 600

When I convert the pre-trained i3d on Kinetics 600, the error occurs as follows:

Key RGB/inception_i3d/Conv3d_1a_7x7/batch_norm/beta not found in checkpoint
         [[node save/RestoreV2 (defined at i3d_tf_to_pt.py:66)  = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]

Libraries versions specification is required

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.

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.