MCPcopy Create free account

hub / github.com/YunseokJANG/tgif-qa / functions

Functions320 in github.com/YunseokJANG/tgif-qa

↓ 1 callersMethoditer_ids
(self, shuffle=False)
code/gifqa/data_util/tgif.py:353
↓ 1 callersMethodload_video_feature
(self, key)
code/gifqa/data_util/tgif.py:386
↓ 1 callersMethodload_word_vocabulary
(self)
code/gifqa/data_util/tgif.py:299
↓ 1 callersFunctionmain
()
code/gifqa/main.py:120
↓ 1 callersFunctionpad_sequences
Pads all sequences to the same length. The length is defined by the longest sequence. Returns padded sequences.
code/gifqa/data_util/data_util.py:43
↓ 1 callersMethodprint_params
(self)
code/gifqa/models/model_saver.py:44
↓ 1 callersMethodread_df_from_csvfile
(self)
code/gifqa/data_util/tgif.py:129
↓ 1 callersMethodread_tgif_from_hdf5
resnet > res5c, pool5 c3d > fc6, conv5b concat > fc, conv
code/gifqa/data_util/tgif.py:91
↓ 1 callersMethodsave_to_file
(self, attr, path)
code/gifqa/models/model_saver.py:35
↓ 1 callersMethodsplit_dataset
(self, ratio=0.1)
code/gifqa/data_util/tgif.py:832
↓ 1 callersMethodtrain_loop
(self, train_iter, sess=None)
code/gifqa/models/mc_base.py:410
Function_BlockLSTMGrad
Gradient for BlockLSTM.
code/gifqa/models/rnn_cell/lstm_ops.py:294
Function_GRUBlockCellGrad
r"""Gradient for GRUBlockCell. Args: op: Op for which the gradient is defined. *grad: Gradients of the optimization function wrt output
code/gifqa/models/rnn_cell/gru_ops.py:37
Function_LSTMBlockCellGrad
Gradient for LSTMBlockCell.
code/gifqa/models/rnn_cell/lstm_ops.py:234
Method__call__
(self, inputs, state, timestep = 0, scope=None)
code/gifqa/models/rnn_cell/custom_rnn_cell.py:137
Method__call__
Run this multi-layer cell on inputs, starting from state.
code/gifqa/models/rnn_cell/custom_rnn_cell.py:210
Method__call__
Run the cell with the declared dropouts.
code/gifqa/models/rnn_cell/custom_rnn_cell.py:279
Method__call__
Run the cell and add its inputs to its outputs. Args: inputs: cell inputs. state: cell state. scope: optional cell scope.
code/gifqa/models/rnn_cell/rnn_cell.py:1222
Method__call__
(self, inputs, state, scope=None)
code/gifqa/models/rnn_cell/rnn_cell.py:1866
Method__call__
Run this fused RNN on inputs, starting from the given state. Args: inputs: `3-D` tensor with shape `[time_len x batch_size x input_size]`
code/gifqa/models/rnn_cell/fused_rnn_cell.py:44
Method__call__
(self, inputs, initial_state=None, dtype=None, seq
code/gifqa/models/rnn_cell/fused_rnn_cell.py:94
Method__call__
(self, inputs, initial_state=None, dtype=None, seq
code/gifqa/models/rnn_cell/fused_rnn_cell.py:169
Method__call__
Long short-term memory cell (LSTM).
code/gifqa/models/rnn_cell/lstm_ops.py:383
Method__call__
Run this LSTM on inputs, starting from the given state. Args: inputs: `3-D` tensor with shape `[time_len, batch_size, input_size]`
code/gifqa/models/rnn_cell/lstm_ops.py:460
Method__call__
GRU cell.
code/gifqa/models/rnn_cell/gru_ops.py:160
Method__call__
GRU cell.
code/gifqa/models/rnn_cell/gru_ops.py:202
Method__del__
(self)
code/gifqa/data_util/tgif.py:75
Method__init__
(self, dataset_name='train', image_feature_net='resnet', la
code/gifqa/data_util/tgif.py:41
Method__init__
(self, hidden_dim, lstm_steps, word_embed,
code/gifqa/models/frameqa_base.py:30
Method__init__
(self, model, summary_dir=None)
code/gifqa/models/frameqa_base.py:275
Method__init__
(self, model, optimizer=None, train_summary_dir=None, sess=None, max_grad_norm=5)
code/gifqa/models/frameqa_base.py:376
Method__init__
(self, hidden_dim, lstm_steps, word_embed,
code/gifqa/models/mc_base.py:29
Method__init__
(self, model, summary_dir=None)
code/gifqa/models/mc_base.py:293
Method__init__
(self, model, optimizer=None, train_summary_dir=None, sess=None, max_grad_norm=5)
code/gifqa/models/mc_base.py:395
Method__init__
(self, hidden_dim, lstm_steps, word_embed,
code/gifqa/models/count_base.py:27
Method__init__
(self, model, summary_dir=None)
code/gifqa/models/count_base.py:262
Method__init__
(self, model, optimizer=None, train_summary_dir=None, sess=None, max_grad_norm=5)
code/gifqa/models/count_base.py:375
Method__init__
(self, num_units, forget_bias = 1.0, gpu_for_layer = 0, weight_initializer = "uniform_unit", orthogonal_scale_
code/gifqa/models/rnn_cell/custom_rnn_cell.py:112
Method__init__
Create a RNN cell composed sequentially of a number of RNNCells. Args: cells: list of RNNCells that will be composed in this order. s
code/gifqa/models/rnn_cell/custom_rnn_cell.py:167
Method__init__
Create a cell with added input and/or output dropout. Dropout is never used on the state. Args: cell: an RNNCell, a projection to outp
code/gifqa/models/rnn_cell/custom_rnn_cell.py:238
Method__init__
Create a cell with input projection. Args: cell: an RNNCell, a projection of inputs is added before it. num_proj: Python integer. Th
code/gifqa/models/rnn_cell/core_rnn_cell.py:129
Method__init__
Create a cell with output projection. Args: cell: an RNNCell, a projection to output_size is added to it. output_size: integer, the s
code/gifqa/models/rnn_cell/core_rnn_cell.py:191
Method__init__
Initializes the basic LSTM cell. Args: num_units: int, The number of units in the LSTM cell. forget_bias: float, The bias added to fo
code/gifqa/models/rnn_cell/mc_custom_rnn_cell.py:44
Method__init__
Initialize the parameters for an LSTM cell. Args: num_units: int, The number of units in the LSTM cell use_peepholes: bool, set True
code/gifqa/models/rnn_cell/rnn_cell.py:106
Method__init__
Initialize the parameters for an LSTM cell. Args: num_units: int, The number of units in the LSTM cell use_peepholes: bool, set True
code/gifqa/models/rnn_cell/rnn_cell.py:271
Method__init__
Initialize the parameters for an LSTM cell. Args: num_units: int, The number of units in the LSTM cell use_peepholes: (optional) bool
code/gifqa/models/rnn_cell/rnn_cell.py:443
Method__init__
Initialize the parameters for an LSTM cell. Args: num_units: int, The number of units in the LSTM cell use_peepholes: (optional) bool
code/gifqa/models/rnn_cell/rnn_cell.py:899
Method__init__
Create a cell with attention. Args: cell: an RNNCell, an attention is added to it. attn_length: integer, the size of an attention win
code/gifqa/models/rnn_cell/rnn_cell.py:1030
Method__init__
Constructs a `HighwayWrapper` for `cell`. Args: cell: An instance of `RNNCell`. couple_carry_transform_gates: boolean, should the Car
code/gifqa/models/rnn_cell/rnn_cell.py:1173
Method__init__
Initializes the basic LSTM cell. Args: num_units: int, The number of units in the LSTM cell. forget_bias: float, The bias added to fo
code/gifqa/models/rnn_cell/rnn_cell.py:1266
Method__init__
Initializes the basic LSTM cell. Args: num_units: int, The number of units in the LSTM cell. forget_bias: float, The bias added to fo
code/gifqa/models/rnn_cell/rnn_cell.py:1377
Method__init__
Initialize the parameters for an UGRNN cell. Args: num_units: int, The number of units in the UGRNN cell initializer: (optional) The
code/gifqa/models/rnn_cell/rnn_cell.py:1637
Method__init__
Initialize the parameters for an +RNN cell. Args: num_units: int, The number of units in the +RNN cell num_in_proj: (optional) int, T
code/gifqa/models/rnn_cell/rnn_cell.py:1734
Method__init__
Create CompiledWrapper cell. Args: cell: Instance of `RNNCell`. compile_stateful: Whether to compile stateful ops like initializers
code/gifqa/models/rnn_cell/rnn_cell.py:1843
Method__init__
Initialize the Phased LSTM cell. Args: num_units: int, The number of units in the Phased LSTM cell. use_peepholes: bool, set True to
code/gifqa/models/rnn_cell/rnn_cell.py:1917
Method__init__
Construct ConvLSTMCell. Args: conv_ndims: Convolution dimensionality (1, 2 or 3). input_shape: Shape of the input as int tuple, exclud
code/gifqa/models/rnn_cell/rnn_cell.py:2067
Method__init__
Construct Conv1DLSTM. See `ConvLSTMCell` for more details.
code/gifqa/models/rnn_cell/rnn_cell.py:2149
Method__init__
Construct Conv2DLSTM. See `ConvLSTMCell` for more details.
code/gifqa/models/rnn_cell/rnn_cell.py:2158
Method__init__
Construct Conv3DLSTM. See `ConvLSTMCell` for more details.
code/gifqa/models/rnn_cell/rnn_cell.py:2167
Method__init__
Initialize the parameters of G-LSTM cell. Args: num_units: int, The number of units in the G-LSTM cell initializer: (optional) The in
code/gifqa/models/rnn_cell/rnn_cell.py:2248
Method__init__
Initialize the adaptor. Args: cell: an instance of a subclass of a `rnn_cell.RNNCell`. use_dynamic_rnn: whether to use dynamic (or st
code/gifqa/models/rnn_cell/fused_rnn_cell.py:84
Method__init__
(self, cell)
code/gifqa/models/rnn_cell/fused_rnn_cell.py:146
Method__init__
Initialize the basic LSTM cell. Args: num_units: int, The number of units in the LSTM cell. forget_bias: float, The bias added to for
code/gifqa/models/rnn_cell/lstm_ops.py:341
Method__init__
Initialize the LSTM cell. Args: num_units: int, The number of units in the LSTM cell. forget_bias: float, The bias added to forget ga
code/gifqa/models/rnn_cell/lstm_ops.py:586
Method__init__
Initialize the Block GRU cell. Args: num_units: int, The number of units in the GRU cell. cell_size: int, The old (deprecated) name f
code/gifqa/models/rnn_cell/gru_ops.py:135
Method__len__
(self)
code/gifqa/data_util/tgif.py:85
Method__repr__
(self)
code/gifqa/data_util/tgif.py:168
Function_block_lstm
r"""TODO(williamchan): add doc. Args: seq_len_max: A `Tensor` of type `int64`. x: A list of at least 1 `Tensor` objects of the same type in
code/gifqa/models/rnn_cell/lstm_ops.py:139
Method_call_cell
Run this LSTM on inputs, starting from the given state. Args: inputs: `3-D` tensor with shape `[time_len, batch_size, input_size]` in
code/gifqa/models/rnn_cell/lstm_ops.py:609
Method_highway
(self, inp, out)
code/gifqa/models/rnn_cell/rnn_cell.py:1200
Function_infov
(self, msg, *args, **kwargs)
code/gifqa/util.py:38
Function_initializer
(shape, dtype=dtype, partition_info=None)
code/gifqa/models/rnn_cell/rnn_cell.py:1898
Methodadd_flags
(FLAGS)
code/gifqa/models/count_models.py:11
Methodadd_flags
(FLAGS)
code/gifqa/models/count_models.py:21
Methodadd_flags
(FLAGS)
code/gifqa/models/count_models.py:31
Methodadd_flags
(FLAGS)
code/gifqa/models/count_models.py:41
Methodadd_flags
(FLAGS)
code/gifqa/models/count_models.py:54
Methodadd_flags
(FLAGS)
code/gifqa/models/count_models.py:258
Methodadd_flags
(FLAGS)
code/gifqa/models/count_models.py:452
Methodadd_flags
()
code/gifqa/models/frameqa_base.py:83
Methodadd_flags
(FLAGS)
code/gifqa/models/mc_models.py:14
Methodadd_flags
(FLAGS)
code/gifqa/models/mc_models.py:26
Methodadd_flags
(FLAGS)
code/gifqa/models/mc_models.py:51
Methodadd_flags
(FLAGS)
code/gifqa/models/mc_models.py:66
Methodadd_flags
(FLAGS)
code/gifqa/models/mc_models.py:285
Methodadd_flags
(FLAGS)
code/gifqa/models/mc_models.py:506
Methodadd_flags
(FLAGS)
code/gifqa/models/frameqa_models.py:12
Methodadd_flags
(FLAGS)
code/gifqa/models/frameqa_models.py:22
Methodadd_flags
(FLAGS)
code/gifqa/models/frameqa_models.py:32
Methodadd_flags
(FLAGS)
code/gifqa/models/frameqa_models.py:42
Methodadd_flags
(FLAGS)
code/gifqa/models/frameqa_models.py:55
Methodadd_flags
(FLAGS)
code/gifqa/models/frameqa_models.py:263
Methodadd_flags
(FLAGS)
code/gifqa/models/frameqa_models.py:463
Methodadd_flags
()
code/gifqa/models/mc_base.py:79
Methodadd_flags
()
code/gifqa/models/count_base.py:80
Functionaggregate_answer
(answer, seq_len, is_aggregate)
code/gifqa/ops.py:88
Functionaggregate_caption
(caption, caption_mask, is_aggregate)
code/gifqa/ops.py:70
Functionaggregate_reduce_mean
(values, agg_type, seq_len, is_aggregate, name)
code/gifqa/ops.py:103
Functionaggregate_video
(video, video_mask, is_aggregate)
code/gifqa/ops.py:51
Methodassert_shape_match
(inp, out)
code/gifqa/models/rnn_cell/rnn_cell.py:1240
← previousnext →101–200 of 320, ranked by callers