Conv3D_CLSTM
Conv3D_CLSTM copied to clipboard
inputs.py
I see in inputs.py, there are different ways to processs data for different datasets or different modality. for example average_values is different, I want to how to get the average_values for a new different dataset. Because i compute the average RGB value for isogr_rgb training data and it is very different with [112,112,112] in inputs.py.
112 is the one average value of three channels (RGB) of videos.
Thanks for your answer. I also compute the average value of three channels of all training videos, but it is not 112. I wanna know why the average_loss is nan after few iterations, it's the reason that i don't process the dataset correct or the bug in tensorflow with tf.nn.softmax(i found in stackoverflow). I found that if i modify the num_class 249 to 60 for NTU_RGB+D dataset, the average_loss is nan, when i don't modify the num_class the average_loss won't be nan, but the number of classes is 60 in NTU dataset.
@GuangmingZhu @zhaiyuan I want to use the code, I run the testing_isogr.py,but i have a trouble "ValueError: Cannot feed value of shape(12,) for Tensor u 'x:0', which has shape '(12,32,112,112,3)' " besides,I run the training_*.py also meet a trouble,I cannot find the log files. how to solve these problems ? Thank you !
you can mkdir the log file yourself. As I known, if you has the shape (12,32,112,112,3), but has the ValueError of shape (12,), you can check each data is (32,112,112,3) or not. Is a common error in python, i often see this error.
@zhaiyuan Then how do you solve this problem, I also encountered the same problem
Is very easy to solve this, if you have 12 videos, you should check the shape of each video data. The problem may be some videos not have 32 frames or not (112,112) or not RGB video. Is very easy to check the shape of an array(each video) in python.
you should reshape each data to a same shape.
@zhaiyuan Can I add your contact information to communication with you ?
Is very easy to solve this, if you have 12 videos, you should check the shape of each video data. The problem may be some videos not have 32 frames or not (112,112) or not RGB video. Is very easy to check the shape of an array(each video) in python. Dear @Amysiat ,Have you solved this problem? I have the same problem. Could you please tell me how to solve it?thank you so much !!!