TCNActionRecognition icon indicating copy to clipboard operation
TCNActionRecognition copied to clipboard

bug in source code

Open RMobina opened this issue 6 years ago • 2 comments

Hi, I replaced the update files with other ones. After running the train.Py I received the below error:

File "/mnt/homedata/ss/CodeProject/TCNActionRecognition/train.py", line 183, in nturgbd_train_datagen X[batch_count] = x.reshape(max_len,feat_dim,1) ValueError: could not broadcast input array from shape (300,150,1) into shape (300,150)

which with remove the paramet of 1 from reshape it resolved

ORIGINAL

  X[batch_count] =  x.reshape(max_len,feat_dim)

but now I have this error: 2018-04-16 10:34:10.496385: F ./tensorflow/core/util/mkl_util.h:1287] Non-OK-status: Status(error::Code::INVALID_ARGUMENT, "Unsupported data format") status: Invalid argument: Unsupported data format

I would be grateful if you guide me. Best

RMobina avatar Apr 16 '18 08:04 RMobina

#RMobina was you able to figure it out? I am getting a similar error.

mlazarew avatar Jun 29 '18 14:06 mlazarew

I think it is a tf error. https://github.com/tensorflow/tensorflow/issues/17945 Maybe you can try to upgrade tensorflow to 1.10.0

FoxerLee avatar Aug 18 '18 17:08 FoxerLee