Comments (1)
@LiShuiYu There is no significance. It is solely dependent the library. For example, if you use tensor-flow, this is the method implementation of conv3d
tf.nn.conv3d(
input,
filter,
strides,
padding,
data_format='NDHWC',
dilations=[1, 1, 1, 1, 1],
name=None
)
The shape of the input parameter must be [batch, in_depth, in_height, in_width, input_channels]
REF: https://www.tensorflow.org/api_docs/python/tf/nn/conv3d
However, if you are using theano, the order will be different. It will be (batch size, input_channels, input depth, input rows, input columns)
Ref: http://deeplearning.net/software/theano/library/tensor/nnet/conv.html#theano.tensor.nnet.conv3d
So there is no significance in the order. The order is different based on how the library wants you to inpu the sequence of parameters.
Therefore, if you use Keras, you will have to check what backend you are using ( either TF or Theano) else you will run into a lot of trouble. In the Keras Conv3D method, there is a parameter called the data_format. You have to set this parameter to either channel value appears first or last.
keras.layers.Conv3D(filters, kernel_size, strides=(1, 1, 1), padding='valid', data_format=None, dilation_rate=(1, 1, 1), activation=None, use_bias=True, kernel_initializer='glorot_uniform', bias_initializer='zeros', kernel_regularizer=None, bias_regularizer=None, activity_regularizer=None, kernel_constraint=None, bias_constraint=None)
The details of this are found here in the Keras documentation: https://keras.io/layers/convolutional/
I hope this clears any confusion. Cheers!
from c3d-tensorflow.
Related Issues (20)
- ValueError: Cannot feed value of shape (11, 16, 160, 160, 3) for Tensor 'Placeholder:0', which has shape '(12, 16, 160, 160, 3)' HOT 1
- train_c3d_ucf101.py
- predict_c3d_ucf101.py
- very very big loss values
- Could you give me a list as example? HOT 1
- ValueError: setting an array element with a sequence. HOT 1
- What is the difference between clip accuracy and video accuracy?
- Train with last checkpoint
- ERROR when using conv3d
- about how to use .meta or index
- about preprocessing HOT 7
- ResourceExhaustedError in train_c3d_ucf101.py HOT 2
- UnboundLocalError: local variable 'img_datas' referenced before assignment HOT 2
- the accuracy is always 0 HOT 2
- overfitting HOT 1
- prototxt file for conv3d_deepnetA_sport1m_iter_1900000.caffemodel
- missunderstanding about .model file type HOT 1
- hou ge niubility HOT 1
- pi zhu is watching you
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from c3d-tensorflow.