eric-xw / kinetics-i3d-pytorch Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
I was wondering if someone try to perform transfer learning based on this implementation? How did you proceed and do you get any results ?
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
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)]]
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.