HHTseng / video-classification

Tutorial for video classification/ action recognition using 3D CNN/ CNN+RNN on UCF101
942 stars 217 forks source link

function.py #2

Closed cemilzalluhoglu closed 5 years ago

cemilzalluhoglu commented 5 years ago

I can't find the function.py. I think it is a necessary file for UCF101_ResNetCRNN.py

UCF101_ResNetCRNN.py

from functions import *

cnn_encoder = ResCNNEncoder(fc_hidden1=CNN_fc_hidden1, fc_hidden2=CNN_fc_hidden2, drop_p=dropout_p, CNN_embed_dim=CNN_embed_dim).to(device)

rnn_decoder = DecoderRNN(CNN_embed_dim=CNN_embed_dim, h_RNN_layers=RNN_hidden_layers, h_RNN=RNN_hidden_nodes, h_FC_dim=RNN_FC_dim, drop_p=dropout_p, num_classes=k).to(device)

HHTseng commented 5 years ago

Yes, the functions.py is necessary as you should be able to find it in every folder, eg.

resnetCRNN

please let me know if you still cannot see it