{"action":"created","issue":{"url":"https://api.github.com/repos/GuangmingZhu/Conv3D_CLSTM/issues/8","repository_url":"https://api.github.com/repos/GuangmingZhu/Conv3D_CLSTM","labels_url":"https://api.github.com/repos/GuangmingZhu/Conv3D_CLSTM/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/GuangmingZhu/Conv3D_CLSTM/issues/8/comments","events_url":"https://api.github.com/repos/GuangmingZhu/Conv3D_CLSTM/issues/8/events","html_url":"https://github.com/GuangmingZhu/Conv3D_CLSTM/issues/8","id":295842752,"node_id":"MDU6SXNzdWUyOTU4NDI3NTI=","number":8,"title":"Exception: RNN : Input dimension should be rank 3 : [batch_size, n_steps, n_features]","user":{"login":"sainisanjay","id":25616511,"node_id":"MDQ6VXNlcjI1NjE2NTEx","avatar_url":"https://avatars0.githubusercontent.com/u/25616511?v=4","gravatar_id":"","url":"https://api.github.com/users/sainisanjay","html_url":"https://github.com/sainisanjay","followers_url":"https://api.github.com/users/sainisanjay/followers","following_url":"https://api.github.com/users/sainisanjay/following{/other_user}","gists_url":"https://api.github.com/users/sainisanjay/gists{/gist_id}","starred_url":"https://api.github.com/users/sainisanjay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sainisanjay/subscriptions","organizations_url":"https://api.github.com/users/sainisanjay/orgs","repos_url":"https://api.github.com/users/sainisanjay/repos","events_url":"https://api.github.com/users/sainisanjay/events{/privacy}","received_events_url":"https://api.github.com/users/sainisanjay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-02-09T11:40:28Z","updated_at":"2018-11-02T13:10:51Z","closed_at":null,"author_association":"NONE","body":"I am trying to test your model with my dataset but i am getting error in RNN:\r\n\r\n> ...........\r\n> ...........\r\n> ...........\r\n> [TL] RNNLayer Conv3D_ConvLSTM/clstm_layer_1: n_hidden:256 n_steps:16 in_dim:5 in_shape:(12, 16, 28, 28, 256) cell_fn:ConvLSTMCell \r\n> **Traceback (most recent call last):**\r\n>   File \"./testing_nvidia.py\", line 36, in <module>\r\n>     networks = net.c3d_clstm(x, num_classes, False, False)\r\n>   File \"/home/cvsion/Deeplearning/DeepTensorFlow/tensorlayer/c3d_clstm.py\", line 86, in c3d_clstm\r\n>     name='clstm_layer_1')\r\n>   File \"/home/cvsion/Deeplearning/DeepTensorFlow/tensorlayer/tensorlayer/layers.py\", line 4537, in __init__\r\n>     raise Exception(\"RNN : Input dimension should be rank 3 : [batch_size, n_steps, n_features]\")\r\n> Exception: RNN : Input dimension should be rank 3 : [batch_size, n_steps, n_features]\r\n\r\nI have create the dataset in the following format \r\n\r\n```\r\n/Video_data/TEST/class_01/subject13_r0/sk_color 138 0\r\n/Video_data/TEST/class_01/subject13_r0/sk_color 154 0\r\n/Video_data/TEST/class_01/subject13_r0/sk_color 170 0\r\n/Video_data/TEST/class_01/subject13_r0/sk_color 186 0\r\n/Video_data/TEST/class_02/subject13_r1/sk_color 132 1\r\n/Video_data/TEST/class_02/subject13_r1/sk_color 148 1\r\n/Video_data/TEST/class_02/subject13_r1/sk_color 164 1\r\n/Video_data/TEST/class_02/subject13_r1/sk_color 180 1\r\n/Video_data/TEST/class_03/subject14_r0/sk_color 120 2\r\n/Video_data/TEST/class_03/subject14_r0/sk_color 136 2\r\n/Video_data/TEST/class_03/subject14_r0/sk_color 152 2\r\n/Video_data/TEST/class_03/subject14_r0/sk_color 168 2\r\n/Video_data/TEST/class_04/subject14_r1/sk_color 117 3\r\n/Video_data/TEST/class_04/subject14_r1/sk_color 133 3\r\n/Video_data/TEST/class_04/subject14_r1/sk_color 149 3\r\n/Video_data/TEST/class_04/subject14_r1/sk_color 165 3\r\nso on...\r\n```\r\nIn my each class `sk_color` folder has 80 images. Kindly let me know what wrong in my setup"},"comment":{"url":"https://api.github.com/repos/GuangmingZhu/Conv3D_CLSTM/issues/comments/435375022","html_url":"https://github.com/GuangmingZhu/Conv3D_CLSTM/issues/8#issuecomment-435375022","issue_url":"https://api.github.com/repos/GuangmingZhu/Conv3D_CLSTM/issues/8","id":435375022,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTM3NTAyMg==","user":{"login":"mynameiswh","id":43289970,"node_id":"MDQ6VXNlcjQzMjg5OTcw","avatar_url":"https://avatars3.githubusercontent.com/u/43289970?v=4","gravatar_id":"","url":"https://api.github.com/users/mynameiswh","html_url":"https://github.com/mynameiswh","followers_url":"https://api.github.com/users/mynameiswh/followers","following_url":"https://api.github.com/users/mynameiswh/following{/other_user}","gists_url":"https://api.github.com/users/mynameiswh/gists{/gist_id}","starred_url":"https://api.github.com/users/mynameiswh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mynameiswh/subscriptions","organizations_url":"https://api.github.com/users/mynameiswh/orgs","repos_url":"https://api.github.com/users/mynameiswh/repos","events_url":"https://api.github.com/users/mynameiswh/events{/privacy}","received_events_url":"https://api.github.com/users/mynameiswh/received_events","type":"User","site_admin":false},"created_at":"2018-11-02T13:10:51Z","updated_at":"2018-11-02T13:10:51Z","author_association":"NONE","body":">           Maybe it can be solved by this way. As the mentioned at the README.md, we should modify the source code of Tensorlay, we need to replace the RNNLayer code with the tensorlayer-rnnlayer.py. And It mostly solved. Then, there is also some error about version matching of tensorflow.\r\n> My tensorflow version: 1.4.0 and Tensorlayer: 1.8\r\n\r\nTypeError: __init__() missing 1 required positional argument: 'prev_layer'，this errors how to resolve???"}}
{"actor":{"display_login":"mynameiswh"}}