tianzhongsong / 3d-dense-residual-network-for-action-recognition Goto Github PK
View Code? Open in Web Editor NEW3D Dense Residual Network for Action Recognition
3D Dense Residual Network for Action Recognition
Hello, thanks for your sharing. I met an error while running the video_demo.py:
File "video_demo.py", line 19, in main
model.load_weights('./results/drn-16/weights_drn2.h5', by_name=True)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 2617, in load_weights
load_weights_from_hdf5_group_by_name(f, self.layers)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 3145, in load_weights_from_hdf5_group_by_name
original_backend)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 3024, in preprocess_weights_for_loading
weights[0] = np.transpose(weights[0], (3, 2, 0, 1))
File "/usr/local/lib/python2.7/dist-packages/numpy/core/fromnumeric.py", line 550, in transpose
return _wrapfunc(a, 'transpose', axes)
File "/usr/local/lib/python2.7/dist-packages/numpy/core/fromnumeric.py", line 67, in _wrapfunc
return _wrapit(obj, method, *args, **kwds)
File "/usr/local/lib/python2.7/dist-packages/numpy/core/fromnumeric.py", line 47, in _wrapit
result = getattr(asarray(obj), method)(*args, **kwds)
ValueError: axes don't match array
I used tensorflow 1.0.1 and keras 2.0.8, and I used the same video from UCF101 to test.So how to solve the problem? I am totally new in tensorflow. Thanks.
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.